lkml.org 
[lkml]   [1996]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Bug in waitpid()
Date
In linux.dev.kernel, article <19961101021103.946.qmail@fomalhout.lunix.org>,
ton@linux.cc.kuleuven.ac.be 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
popular.
-- Oscar Wilde
--
Matthias Urlichs \ noris network GmbH / Xlink-POP Nürnberg
Schleiermacherstraße 12 \ Linux+Internet / EMail: urlichs@noris.de
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="http://info.noris.de/~smurf/finger">here</A>. 42

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