I came across this http://www.gnu.org/software/libc/manual/html_node/POSIX-Threads.html (see "Threads and Fork" and "Streams and Fork"), which does a pretty good job of explaining things.
I guess it's difficult to say, but I would venture a guess and say if you need to fork() from a Posix thread, it is almost certainly because you expect to execv() very quickly?
In my case, the fork() never caused any problems. As long as the programmers understand the interaction, it should not be a
On Tuesday 09 May 2006 10:23 am, Per Jessen wrote:
problem. You need to understand what is inherited, and what the appropriate
states are.
--
Jerry Feldman