[
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-06-11 (21:03) |
From: | Christophe Raffalli <raffalli@u...> |
Subject: | Re: [Caml-list] Threads |
james woodyatt a écrit : > On 11 Jun 2005, at 00:46, Christophe Raffalli wrote: > >> >> No there is a global mutex for caml thread. The only thing you can do >> is have one Caml thread and many C threads running in the same time. >> >> This starts really to be an annoying limitation of the Caml runtime >> now that you can have easily two dual core processors in one machine >> ... (means four CPU) > > > Not for me it isn't-- I gave up cooperative scheduling with Mac OS 9. > > Now, when I want concurrent, preëmptive multiprocessing, I call > fork(2) [and often exec(2)], like Nature intended. I don't know why > you folks on Win32 platforms continue to put up with such abominable > support for POSIX interfaces. > > Does not depend what you use (Posix, win32 threads etc ...), OCaml does not support two threads accessing the memory at the same time.