Children of fork() Cannot pthread_create()?
Daniel Jacobowitz
drow at false.org
Wed Jun 6 13:13:07 PDT 2007
On Wed, Jun 06, 2007 at 01:04:09PM -0700, David Daney wrote:
> Yes, pthread_create is not on the list of functions that can be called
> after a fork (but before exec).
>
> The list of functions is near the end of this document:
>
> http://www.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_04.html
There's no restriction on what you can do after fork; you may be
thinking of vfork or no-MMU?
--
Daniel Jacobowitz
CodeSourcery
More information about the uClibc
mailing list