sockets,threads and interupts

Chris Angelico rosuav at gmail.com
Wed Sep 5 09:04:22 EDT 2012


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.

ChrisA



More information about the Python-list mailing list