On 1/16/09, Anthony Liguori wrote: > Blue Swirl wrote: > > > On 1/16/09, Anthony Liguori wrote: > > > > > > > > > > It's just used for assigning the signal value. We could have a #ifdef > > > HAVE_SIGEVENT and define it if it doesn't exist--or just change the > aioinit > > > structure to use an int instead of the struct sigevent structure. It's > > > sigevent for glibc compatibility but that's not really important at this > > > stage. > > > > > > > > > > Ok. Should kill be used always or just when sigqueue is not available? > > > > > > Since we use it for process instead of thread signaling, I think it's safe > to always use kill(). I'm not completely sure though, having it conditional > on sigqueue would certainly be the conservative thing to do. This version uses just kill. Seems to work on Linux and OpenBSD.