Date: Fri, 7 Mar 2008 15:07:02 +0100 From: Joerg Sonnenberger <joerg@britannica.bec.de> To: freebsd-hackers@freebsd.org Subject: Re: libpthread/fork issue Message-ID: <20080307140702.GE2032@britannica.bec.de> In-Reply-To: <87D91DEDB1111C44BBFB9E3E90FF1E6E9553E0@host.lodgenet.com> References: <87D91DEDB1111C44BBFB9E3E90FF1E6E9553E0@host.lodgenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 06, 2008 at 09:45:15PM -0600, Marko, Shaun wrote: > In short, if a process creates a thread, joins > the thread, then forks a child process which creates a thread, the > child's attempt to create a thread will cause the program to dump core > with the following error message. fork and pthread should not be mixed. You can and normally should only assume that the current thread is present in the child. Joerg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080307140702.GE2032>