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] More info on the Event module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-12-01 (22:36)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] More info on the Event module

I'm looking for some more info on the Event module. I can't figure it out =/

Event.sync (Event.send chan 6; Event.receive chan);; blocks forever...

What I want to do is rewrite some concurrent Haskell code in OCaml
(concurrent haskell code uses GHC/pre-emptive threading). I'm not sure
if the Event module is the way to go. Figuring out how to do the
equivalent of Haskell's channels and mvars is proving difficult =/