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


Groups > comp.lang.python > #25041

Re: Socket code not executing properly in a thread (Windows)

Date 2012-07-08 13:01 +0200
From Thomas Jollans <t@jollybox.de>
Subject Re: Socket code not executing properly in a thread (Windows)
References <jt9ec1$e5s$1@dont-email.me> <jta1v7$v0b$1@dont-email.me> <jtbncn$c0c$1@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.1915.1341745281.4697.python-list@python.org> (permalink)

Show all headers | View raw


On 07/08/2012 11:03 AM, Andrew D'Angelo wrote:
> Also, running the sned to socket code inside the main loop would not work, 
> as the main loop pauses until it recieves data from the socket (an IRC 
> message), which is why I didn't put the SMS code in the main loop in the 
> first place.


http://docs.python.org/library/select.html

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


Thread

Socket code not executing properly in a thread (Windows) "Andrew D'Angelo" <excel@pharcyde.org> - 2012-07-08 05:55 -0500
  Re: Socket code not executing properly in a thread (Windows) Thomas Jollans <t@jollybox.de> - 2012-07-07 18:12 +0200
    Re: Socket code not executing properly in a thread (Windows) "Andrew D'Angelo" <excel@pharcyde.org> - 2012-07-07 11:33 -0500
  Re: Socket code not executing properly in a thread (Windows) John Nagle <nagle@animats.com> - 2012-07-07 12:17 -0700
    Re: Socket code not executing properly in a thread (Windows) "Andrew D'Angelo" <excel@pharcyde.org> - 2012-07-08 04:03 -0500
      Re: Socket code not executing properly in a thread (Windows) Thomas Jollans <t@jollybox.de> - 2012-07-08 13:01 +0200

csiph-web