Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Threads question
@ 2007-10-10 14:43 Raj Bandyopadhyay
  2007-10-10 15:04 ` [Caml-list] " Daniel Bünzli
  0 siblings, 1 reply; 2+ messages in thread
From: Raj Bandyopadhyay @ 2007-10-10 14:43 UTC (permalink / raw)
  To: caml-list

Hi all

I am using OCaml threads for an application that I am building.  
However, I don't require concurrency (which OCaml threads do not  
provide anyway). I'm using it only because it makes it far easier to  
express my algorithm.

I was wondering if there is a more lightweight thread library out  
there which works at the native code level and does not use system- 
level threads? I'd like to avoid the performance overhead of  
pthreads, if possible. The OCaml threads library does provide a vm- 
level thread, but it works only for bytecode :(

Thanks
Raj


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Threads question
  2007-10-10 14:43 Threads question Raj Bandyopadhyay
@ 2007-10-10 15:04 ` Daniel Bünzli
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Bünzli @ 2007-10-10 15:04 UTC (permalink / raw)
  To: caml-list


Le 10 oct. 07 à 16:43, Raj Bandyopadhyay a écrit :

> I was wondering if there is a more lightweight thread library out  
> there which works at the native code level and does not use system- 
> level threads?

I don't remember exactly how it is implemented but maybe Jérôme  
Vouillon's lwt [1] is what you are looking for. You can find it in  
the distribution of the Unison file synchronizer and in Ocsigen.

Best,

Daniel

[1] http://www.ocsigen.org/doc/lwt/Lwt.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-10 15:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-10 14:43 Threads question Raj Bandyopadhyay
2007-10-10 15:04 ` [Caml-list] " Daniel Bünzli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox