Browse thread
Faking concurrency using Unix forks and pipes (ray tracing results)
-
Jon Harrop
- Jonathan Bryant
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jonathan Bryant <jtbryant@v...> |
| Subject: | Re: [Caml-list] Faking concurrency using Unix forks and pipes (ray tracing results) |
On Jun 4, 2007, at 6:56 AM, Jon Harrop wrote: > > When you apply this map to an array, a new process is forked for > each element. > As forking is time consuming, you should only apply this to short > arrays. It might be worth your while to implement a process pool. I said before that I fork of one base process from which to fork the others, and it's not possible to make that process just a controller for a pool of waiting processes. --Jonathan