Date: Thu, 21 Oct 2004 12:30:23 GMT From: David Xu <davidxu@freebsd.org> To: freebsd-threads@FreeBSD.org Subject: Re: threads/72953: fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM Message-ID: <200410211230.i9LCUNEI043484@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/72953; it has been noted by GNATS. From: David Xu <davidxu@freebsd.org> To: Mark Andrews <marka@daemon.lab.isc.org> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: threads/72953: fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM Date: Thu, 21 Oct 2004 20:33:10 +0800 It is not supported to do any thread related operations in child process forked from a threaded process, this becauses thread library may be in corrupted state, the safe operation in child process is calling execve() immediately after fork(). Mark Andrews wrote: >>Number: 72953 >>Category: threads >>Synopsis: fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM >>Confidential: no >>Severity: serious >>Priority: medium >>Responsible: freebsd-threads >>State: open >>Quarter: >>Keywords: >>Date-Required: >>Class: sw-bug >>Submitter-Id: current-users >>Arrival-Date: Thu Oct 21 07:00:44 GMT 2004 >>Closed-Date: >>Last-Modified: >>Originator: Mark Andrews >>Release: FreeBSD 5.3-BETA6 i386 >>Organization: >> >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410211230.i9LCUNEI043484>