[lkml]   [1996]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Bug in waitpid()
In, article <>, writes:
> Since I have no access to the POSIX standards, I am not sure what the correct
> semantics are, but from books I get the impression that SIGCHLD means more
> something like "a child that still has to be waited for died" rather than
> "a child died".

AFAIK, that's somewhat undefined. Besides, how often you get a SIGCHLD is
also undefined, so the reaper should call wait4(...,WNOHANG) in a loop
until there are no more dead child processes.

As long as war is regarded as wicked, it will always have its
fascination. When it is looked upon as vulgar, it will cease to be
-- Oscar Wilde
Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail:
90491 Nürnberg (Germany) \ Consulting+Programming+Networking+etc'ing
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE
Click <A HREF="">here</A>. 42

 \ /
  Last update: 2005-03-22 13:37    [W:0.037 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site