pthread - fork - execv problem

Daniel Eischen eischen at vigrid.com
Tue Jun 22 13:53:49 GMT 2004


On Mon, 21 Jun 2004, Chris Stenton wrote:

> I am trying to help port over an app thats posix threaded. One thread uses
> fork,dup2 and execv to start a child programme in this case an mp3 player.
> However, under FreeBSD-5.2.1, the execv causes all the threads in the parent
> process to be blocked until the child process returns. Is there a mechanism
> to get around this.

That shouldn't happen.  What thread library?  Sample program
to demonstrate problem?

-- 
Dan Eischen



More information about the freebsd-threads mailing list