Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 <> 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  Archives: