Nagios and threads

Daniel Eischen deischen at freebsd.org
Thu Jun 23 01:48:29 GMT 2005


On Wed, 22 Jun 2005, M. Warner Losh wrote:

> In message: <Pine.GSO.4.43.0506221027490.22792-100000 at sea.ntplx.net>
>             Daniel Eischen <deischen at freebsd.org> writes:
> : We do protect the malloc lock across a fork(), but that's it.
>
> With 4.x libc_r, you could easily get hangs accross a fork() if you
> did anything before the exec (like setup fd's for stdin/out).  This
> was due to internal libc_r state being inconsistant.

I was only referring to libpthread in the above...  I don't think
libc_r is as robust in that regard.

-- 
DE



More information about the freebsd-hackers mailing list