Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #28512

Re: sockets,threads and interupts

Newsgroups comp.lang.python
Date 2012-09-05 08:59 -0700
References <4d1ffb61-38b6-42fb-9426-c1c7cb7038a0@googlegroups.com> <mailman.210.1346824575.27098.python-list@python.org> <4baa457c-3408-46dd-a98b-ae7e097ac5e5@googlegroups.com> <mailman.232.1346850266.27098.python-list@python.org>
Subject Re: sockets,threads and interupts
From Ramchandra Apte <maniandram01@gmail.com>
Message-ID <mailman.248.1346860748.27098.python-list@python.org> (permalink)

Show all headers | View raw


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@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

sockets,threads and interupts loial <jldunn2000@gmail.com> - 2012-09-04 08:26 -0700
  Re: sockets,threads and interupts MRAB <python@mrabarnett.plus.com> - 2012-09-04 18:06 +0100
    Re: sockets,threads and interupts Grant Edwards <invalid@invalid.invalid> - 2012-09-04 18:11 +0000
      Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-04 20:43 -0700
  Re: sockets,threads and interupts Dieter Maurer <dieter@handshake.de> - 2012-09-05 07:56 +0200
    Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 05:54 -0700
      Re: sockets,threads and interupts Chris Angelico <rosuav@gmail.com> - 2012-09-05 23:04 +1000
        Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 08:59 -0700
        Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 08:59 -0700
          Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 09:01 -0700
          Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 09:01 -0700
      Re: sockets,threads and interupts Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-05 13:15 -0400
    Re: sockets,threads and interupts Ramchandra Apte <maniandram01@gmail.com> - 2012-09-05 05:54 -0700
  Re: sockets,threads and interupts Bryan <bryanjugglercryptographer@yahoo.com> - 2012-09-05 09:02 -0700

csiph-web