threads/101323: fork(2) in threaded programs broken.
Daniel Eischen
deischen at freebsd.org
Thu Sep 20 16:40:54 PDT 2007
On Thu, 20 Sep 2007, Daniel Eischen wrote:
> On Thu, 20 Sep 2007, Simon Perreault wrote:
>
>>
>> This email is an attemps to revive bug 101323 by stating that it prevents
>> Asterisk (http://www.asterisk.org/) from running in daemon mode. Here's
>> what
>> Asterisk tries to do in a nutshell:
>
> POSIX states that only async signal safe functions can be used
> after a fork() in the child process and before a call to one of
> the exec() functions. The behavior of an application is undefined
> otherwise.
I didn't realize this was an old bug and the above was already
stated in its previous history.
Does the patch in the bug report fix your problem? I
thought phk had already committed it.
--
DE
More information about the freebsd-threads
mailing list