[EMAIL PROTECTED] wrote:
On Tuesday 29 August 2006 20:29, Jeff Hobbs wrote:
You are correct that the main problem is in trying to fork when not
closely followed by exec*().

But with Tcl exec, you never call fork, screw around and then call exec*(), do you? Is this an issue for C level tcl? Maybe the issue is that fork and exec are separate calls, and something unplanned could happen between the two, and pthread_atfork makes the two calls atomic. (And maybe sometimes even this isn't enough?)

Obviously we can now use nsproxy to call exec. I'm not sure if it works for every use of exec inside a full AOLserver, but it would be pretty close.

tom jackson


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.
What is it you are trying to exec?

- n


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to