threads/101323: fork(2) in threaded programs broken.

Daniel Eischen deischen at freebsd.org
Thu Sep 20 16:34:02 PDT 2007


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.


More information about the freebsd-threads mailing list