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] 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 =/