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
Co-existing with non OCaml threads
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-05-12 (16:30)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Re: Co-existing with non OCaml threads
On 5/12/06, Vincenzo Ciancia <vincenzo_yahoo_addressguard-gmane@yahoo.it> wrote:
> However, let's make it clearer, you can create a thread in ocaml and then
> call a C function, and this C function, which will be run concurrently with
> other C functions called the same way, can call back ocaml.

Yes, this is possible, and good libraries provide ways of letting user
created threads enter the library to execute callbacks.


Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com