]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rework the handling of the children for the pthread_vfork_test. The
authorkib <kib@FreeBSD.org>
Wed, 30 Jan 2013 13:14:34 +0000 (13:14 +0000)
committerkib <kib@FreeBSD.org>
Wed, 30 Jan 2013 13:14:34 +0000 (13:14 +0000)
commit7b6927c4af42d3e6a1b704f87f0eae971121b096
treec95e6ec114d4deda31ad644548a4ccce99b5c95c
parente81abcec51f86929c209e6be2e354198be170d50
Rework the handling of the children for the pthread_vfork_test.  The
trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to
not abandon our zombies to init(8). This way, the zombies are around
slightly longer, allowing to actually exercise the logic for p_pwait
use by the test.

MFC after: 1 week
tools/test/pthread_vfork/pthread_vfork_test.c