threads and memory

2006-02-06 Thread Lee Leahu
ython\n\nimport time\nf"..., 4096) = 1037 write(2, "", 4) = 4 write(2, "current.start()\n", 16current.start() -------- Is there a way to accomplish what I am trying to do, perhaps in a more memory-friendly way? My source code is attached. Ple

Re: threads and memory

2006-02-06 Thread Lee Leahu
in poll r, w, e = select.select(r, w, e, timeout) ValueError: filedescriptor out of range in select() Is there a limitation on the number of simultaneous connects that can be made with asyncore ? Attached is the updated source code. Thanks! -- Lee Leahu

Re: threads and memory

2006-02-06 Thread Lee Leahu
use_poll=True to the > asyncore.loop function. I will give this a try. > if use_poll doesn't work, you may have to rebuild Python's select > module to support more handles. see the comments at the top of > Modules/selectmodule.c for details. Thanks! -- Lee Leahu