Browse thread
Threads & Fork
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-11-22 (16:01) |
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