![]() |
socket and threading ... bad file descriptor
Hi,
I have two classes, one listens and accepts connections, gets the socket, reads the first byte from the opened socket then launches a thread (threading) and gives it the socket identifier. The first time the thread attempts to read from the given socket, socket.py raises a bad file descriptor in _dummy. I tried using plain threads with the same problem. Any clue ? Thanks, hg |
Re: socket and threading ... bad file descriptor
hg wrote:
> Hi, > > I have two classes, one listens and accepts connections, gets the > socket, reads the first byte from the opened socket then launches a > thread (threading) and gives it the socket identifier. > > The first time the thread attempts to read from the given socket, > socket.py raises a bad file descriptor in _dummy. > > I tried using plain threads with the same problem. > > Any clue ? > > Thanks, > > hg Bug discovered, sorry |
| All times are GMT. The time now is 10:54 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.