Date: Fri, 22 Oct 2004 02:30:31 GMT From: Mark Andrews <Mark_Andrews@isc.org> To: freebsd-threads@FreeBSD.org Subject: Re: threads/72953: fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM Message-ID: <200410220230.i9M2UVxo039281@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: Mark Andrews <Mark_Andrews@isc.org> To: freebsd-gnats-submit@FreeBSD.org, marka@isc.org Cc: Subject: Re: threads/72953: fork() unblocks blocked signals w/o PTHREAD_SCOPE_SYSTEM Date: Fri, 22 Oct 2004 12:29:34 +1000 No. The restriction are for multi-threaded processes not single threaded processes. The test case is still single threaded when fork() is called. Also pthread_sigmask() / sigprocmask() are supposed to be identical in single threaded applications. Replacing pthread_sigmask() with sigprocmask() changes the resulting behaviour. http://www.opengroup.org/onlinepubs/007908799/xsh/sigprocmask.html http://www.opengroup.org/onlinepubs/007908799/xsh/fork.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410220230.i9M2UVxo039281>