English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-06-11 (14:02)
From: james woodyatt <jhw@w...>
Subject: Re: [Caml-list] Threads
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.

j h woodyatt <jhw@wetware.com>
that's my village calling... no doubt, they want their idiot back.