caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Nproc: process pools for OCaml (request for suggestions)
@ 2011-11-30  2:54 Martin Jambon
  2011-11-30  9:35 ` Jerome Vouillon
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jambon @ 2011-11-30  2:54 UTC (permalink / raw)
  To: OCaml Mailing List

I would like to publicize Nproc, which is an implementation of process
pools for OCaml based on fork, pipes, Marshal and Lwt:

  https://github.com/MyLifeLabs/nproc

Using Nproc involves:

1. Creating a pool of N processes, N being chosen by the user.
2. Running tasks:
  a. Submitting a task (f, x) of any type.
  b. Defining what to do when the result becomes available.

Possible uses of Nproc include:

- running CPU-intensive tasks on multiple cores
- detaching synchronous operations for which a non-blocking version is
not available


Let me know of your comments, suggestions, questions, etc.


Martin

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

end of thread, other threads:[~2011-11-30 21:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-30  2:54 [Caml-list] Nproc: process pools for OCaml (request for suggestions) Martin Jambon
2011-11-30  9:35 ` Jerome Vouillon
2011-11-30 21:32   ` Martin Jambon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).