Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] printable digest strings
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Wserver: Values of global variables lost
Hi,

On Mon, May 07, 2001 at 07:00:01PM +0200, Mattias Waldau wrote:

> I solved the problem by taking the wserver included in geneweb, and 
> recompiling it with -DNOFORK. 

Indeed, but now, you must pay attention that your function does not
generate memory leaks: think of closing your opened channels, things
like that. You must program clean what is not necessary with the fork
version.

But with this option NOFORK, Wserver is nice with you: if there have
been no requests since the last 15 seconds, a Gc.compact is triggered.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr