Version française
Home     About     Download     Resources     Contact us    
Browse thread
Threads & Fork
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: David Teller <D.O.Teller@s...>
Subject: Re: [Caml-list] Threads & Fork
On Tue, 2005-11-22 at 16:50 +0100, Oliver Bandel wrote:
> I doubt that this is true.
> Unix-fork() copies a complete process.
> If the original has threads, the copy also have.
> I don't think that POSIX handles this different to old Unix API.

Er... that would depend on the implementation of threads. Some thread
libraries rely on external processes and shared memory. I don't know how
ThreadUnix works to provide non-blocking system calls, but that might be
one source of the problem.

Cheers,
 David