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
Thread library for ocamlopt?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 1997-08-27 (12:49)
From: Ken Wakita <Ken.Wakita@m...>
Subject: Thread library for ocamlopt?


Is there a plan to include the Thread module in the native compiler
framework?  Or is there a work done with native concurrent ocaml?

I am trying to make a distributed version of ocaml, building a (software)
distributed shared memory using, which allows sharing arbitrary ML data
including closures.  On top of the DSM, we would like to provide a
primitive for remote spawning of closures, for instance:

	spawn_at : place -> (unit -> 'a) -> unit

"Spawn_at" copies the closure to the remote host identified by the
"place" and starts a new thread that runs the closure.  For this purpose,
we need a light-weight thread library.

Any help or comment is greatly appreciated.

Thank you,