Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 19:40:52 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Simon Perreault <simon.perreault@viagenie.ca>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: threads/101323: fork(2) in threaded programs broken.
Message-ID:  <Pine.GSO.4.64.0709201939080.28384@sea.ntplx.net>
In-Reply-To: <Pine.GSO.4.64.0709201930110.28384@sea.ntplx.net>
References:  <200709202310.l8KNA77r059169@freefall.freebsd.org> <Pine.GSO.4.64.0709201930110.28384@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0709201939080.28384>