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
[Caml-list] Complex Numbers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2001-03-30 (23:12)
From: David Fox <dsfox@c...>
Subject: Re: [Caml-list] OCaml, where art thou?
Xavier Leroy <Xavier.Leroy@inria.fr> writes:

> The "system threads" OCaml library addresses this issue by having one
> global master lock that must be acquired in order to run Caml code or
> call most run-time facilities, including the allocator and the GC.
> This lock is released when calling C from OCaml (allowing other
> threads to execute Caml code) and reacquired again before resuming
> execution of Caml code.

How good or bad an arrangement is this?  I've been asked about the
threading facilities of ocaml, but I don't know enough to compare and
contrast, say, ocaml and Java.
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr