sockets,threads and interupts

Ramchandra Apte maniandram01 at gmail.com
Wed Sep 5 12:01:18 EDT 2012


On Wednesday, 5 September 2012 21:29:12 UTC+5:30, Ramchandra Apte  wrote:
> On Wednesday, 5 September 2012 18:34:32 UTC+5:30, Chris Angelico  wrote:
> 
> > On Wed, Sep 5, 2012 at 10:54 PM, Ramchandra Apte <maniandram01 at gmail.com> wrote:
> 
> > 
> 
> > > At least on Linux, if you kill a process using sockets, it takes about 10 seconds for socket to be closed. A program should try to close all resources. OS'es may take a long time to close a unclosed socket automatically.
> 
> > 
> 
> > 
> 
> > 
> 
> > Err, that's not my experience. When a process terminates, its
> 
> > 
> 
> > resources are released promptly.
> 
> 
> 
> It is not guaranteed so a program shouldn't presume.
> 
> > 
> 
> > 
> 
> > 
> 
> > ChrisA

oops forgot my signature
---
Bragging rights (I belong an exclusive community of banned people): got banned on SO and #python-offtopic
Projects:http://code.google.com/p/py2c/ and http://code.google.com/p/uniqos (name may be changed to PyOS)



More information about the Python-list mailing list