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] Question on Mutexes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-24 (11:13)
From: Alessandro Baretta <alex@b...>
Subject: Re: [Caml-list] Question on Mutexes

Xavier Leroy wrote:

> The system-level implementation of the thread library is a thin
> wrapper around POSIX or Win32 mutexes.  The POSIX spec says that the
> behavior of unlocking by another thread than the one that locked is
> undefined: some implementations can signal an error, others can "do
> the right thing", others can crash.

Of course, Ocaml does the "right thing", doesn't it? ;)


To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners