Re: test program for waitpid/sigchld problems

2000-11-10 Thread Raphael Quinet
On Wed, 08 Nov 2000, Michael Natterer <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] (Raphael Quinet) writes: > > Maybe we should all do our "mea culpa" and test a bit more seriously > > especially on non-Linux platforms, now that 1.2 is just around the > > corner. > > Nope, it's just me with the

Re: test program for waitpid/sigchld problems

2000-11-09 Thread Ignatios Souvatzis
On Wed, Nov 08, 2000 at 09:52:07AM +0100, Raphael Quinet wrote: > Included below is a small test program that checks how the OS behaves > when a child process exits while the parent is blocking on waitpid() > and has a SIGCHLD handler installed (which also calls waitpid, and > thus could steal the

Re: test program for waitpid/sigchld problems

2000-11-08 Thread Jaromír Dolecek
Raphael Quinet wrote: > Included below is a small test program that checks how the OS behaves > when a child process exits while the parent is blocking on waitpid() > and has a SIGCHLD handler installed (which also calls waitpid, and > thus could steal the status if the signal handler is called be

Re: test program for waitpid/sigchld problems

2000-11-08 Thread Michael Natterer
[EMAIL PROTECTED] (Raphael Quinet) writes: > On Wed, 08 Nov 2000, Ludovic Poitou <[EMAIL PROTECTED]> wrote: > > Here's the results I got with your test program on Solaris 8, OSF1, > > HP-UX, AIX. > [...] > > Results on Solaris 8: > > sigchld handler was called before waitpid (no status) > [...] >

AIX 4.3, IRIX 5.3, SunOS 4.1.1 (Re: test program for waitpid/sigchld problems)

2000-11-08 Thread Tomas Ogren
On 08 November, 2000 - Raphael Quinet sent me these 2.2K bytes: > If you are running another UNIX-like system (*BSD, HP-UX, AIX, etc.), > it would be nice if you could compile and run the following code and > report what it says. The code does not depend on glib, gtk or any > other libraries, so

Re: test program for waitpid/sigchld problems

2000-11-08 Thread Raphael Quinet
On Wed, 08 Nov 2000, Ludovic Poitou <[EMAIL PROTECTED]> wrote: > Here's the results I got with your test program on Solaris 8, OSF1, > HP-UX, AIX. [...] > Results on Solaris 8: > sigchld handler was called before waitpid (no status) [...] > Results on OSF1- V4.0 True64 - alpha > sigchld handler wa

Re: test program for waitpid/sigchld problems

2000-11-08 Thread Ludovic Poitou
Here's the results I got with your test program on Solaris 8, OSF1, HP-UX, AIX. Ludovic. Results on Solaris 8: bondi> sigtest installing signal handler... forking... waiting for child 9253 to exit... child 9253 has exited sig_pid = 9253 sig_status = 25600 main_pid = -1 main_status = 999