dev-serveez
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] gh_leave ?


From: stefan
Subject: Re: [dev-serveez] gh_leave ?
Date: Tue, 13 Mar 2001 23:24:44 +0100 (CET)

On Tue, 13 Mar 2001, Martin Grabmueller wrote:

> Guile has a procedure port-for-each, which allows to apply a procedure
> to every open port.  Oh, sorry for the Scheme speak -- a port is the
> file abstraction for Scheme.  So it is possible to explicitly close
> all files (except for std{in,out,err}).
> 
> Example:
> 
> (port-for-each close-port)
> 
> This could be evaluated directly after the fork().

Does it hurt a lingering Guile to call this right after something like
gh_eval_file("the_config") ? Thus we do not need it *after* the fork()
which might hinder us to separate the guile code from the serveez core
library.

Thanks in advance,
        address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]