This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: posix/tst-waitid.c possible race condition on Linux


> Wouldn't it make more sense to use sigtimedwait or sigwaitinfo to get
> the signal? This would avoid the race condition without adding a long
> sleep.

Yeah, the test could probably be changed to use sigwait instead of delays.
Feel free to work it out and send a patch.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]