Version française
Home     About     Download     Resources     Contact us    
Browse thread
Faking concurrency using Unix forks and pipes (ray tracing results)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ 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