[Zope3-dev] server restarts

sathya sathya@zeomega.com
Mon, 12 May 2003 10:20:35 -0500


 

>>    
>>
>
>I'm surprised it shuts down at all on Windows unless you send another
>request.  When you type ^C to a Windows Python program that's waiting
>for some I/O (e.g. a socket accept() or recv()), it will only exit
>when the I/O operation completes.
>
>I use Control-Break instead of Control-C; it kills the program
>immediately.  This should be okay for testing.
>  
>
in unix control-c sends a signal to the process . I dont think windows 
supports the same signaling  semantics on a ctrl-c as linux.  looks like 
ctrl break does the same  thing as ctrl c.  

>You may also grep the source for the number 30; I bet you there's a
>select() call somewhere with a 30 second timeout.
>
>--Guido van Rossum (home page: http://www.python.org/~guido/)
>
>_______________________________________________
>Zope3-dev mailing list
>Zope3-dev@zope.org
>http://mail.zope.org/mailman/listinfo/zope3-dev
>  
>