|
From: | Mark Fredrickson |
Subject: | Re: [Chicken-users] daemonize egg: redirect I/O? |
Date: | Mon, 29 Oct 2007 10:13:55 -0500 |
> I think it would suffice for daemonize to wrap the call to the daemon's > main procedure in a dynamic-wind block and call the cleanup function > from the exit thunk. Unless the daemon procedure terminates itself with > a low-level _exit or by sending itself a kill signal, the cleanup code > should then always be executed. Wouldn't this also call the exit thunk if the daemon proc itself ever issues a call-with-current-continuation? That sounds like unexpected behavior. -M
[Prev in Thread] | Current Thread | [Next in Thread] |