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: Unwarranted assumption in tst-waitid, or a kernel bug?


On 09/23, Richard Henderson wrote:
>
> On 09/22/2010 06:02 PM, Oleg Nesterov wrote:
> > 	if (expecting_sigchld) {
> > 		alarm(SOME_TIME);
> > 		sigsuspend(emptyset);
>
> sigtimedwait?

It dequeues the signal, this means that signal handler won't be called.
But probably this is OK for this testcase, sigchld() does nothing
interesting and check_sigchld() can save sigchld_info itself.

Oleg.


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