threads/72953: fork() unblocks blocked signals w/o
PTHREAD_SCOPE_SYSTEM
Mark Andrews
Mark_Andrews at isc.org
Thu Oct 21 19:30:31 PDT 2004
The following reply was made to PR threads/72953; it has been noted by GNATS.
From: Mark Andrews <Mark_Andrews at isc.org>
To: freebsd-gnats-submit at FreeBSD.org, marka at 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
More information about the freebsd-threads
mailing list