Date: Thu, 16 Apr 2009 12:50:03 GMT From: Gavin Atkinson <gavin@FreeBSD.org> To: freebsd-standards@FreeBSD.org Subject: Re: standards/108390: [libc] [patch] wait4() erroneously waits for all children when SIGCHLD is SIG_IGN [regression] Message-ID: <200904161250.n3GCo3YX064225@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR standards/108390; it has been noted by GNATS. From: Gavin Atkinson <gavin@FreeBSD.org> To: bug-followup@FreeBSD.org Cc: Subject: Re: standards/108390: [libc] [patch] wait4() erroneously waits for all children when SIGCHLD is SIG_IGN [regression] Date: Thu, 16 Apr 2009 13:45:44 +0100 Results from supplied test script on Solaris 10: default SIGCHLD 1239885904 2692 P spawned running child 1239885904 2693 C1 Long child sleeping 1239885904 2692 P spawned short running child; waitpid 1239885904 2694 C2 short child: exiting immediately 1239885904 2692 P short child finished 1239885904 2692 P waiting for long running child 1239885914 2693 C1 Long exiting 1239885914 2692 P long child finished. End of test. IGNORE SIGCHLD 1239885914 2692 P spawned running child 1239885914 2695 C1 Long child sleeping 1239885914 2692 P spawned short running child; waitpid 1239885914 2696 C2 short child: exiting immediately 1239885914 2692 P short child finished 1239885914 2692 P waiting for long running child 1239885924 2695 C1 Long exiting 1239885924 2692 P long child finished. End of test. Results from Linux (Ubuntu 8.10): default SIGCHLD 1239885858 2057 P spawned running child 1239885858 2058 C1 Long child sleeping 1239885858 2059 C2 short child: exiting immediately 1239885858 2057 P spawned short running child; waitpid 1239885858 2057 P short child finished 1239885858 2057 P waiting for long running child 1239885868 2058 C1 Long exiting 1239885868 2057 P long child finished. End of test. IGNORE SIGCHLD 1239885868 2057 P spawned running child 1239885868 2060 C1 Long child sleeping 1239885868 2061 C2 short child: exiting immediately 1239885868 2057 P spawned short running child; waitpid 1239885868 2057 P short child finished 1239885868 2057 P waiting for long running child 1239885878 2060 C1 Long exiting 1239885878 2057 P long child finished. End of test.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904161250.n3GCo3YX064225>