How to pause within a thread
John J. Lee
jjl at pobox.com
Sat Jun 14 11:42:22 EDT 2003
Rolf Wester <wester at ilt.fhg.de> writes:
> Peter Hansen wrote:
> > Rolf Wester wrote:
> >
> >>I have a thread that is polling a server for completion of a routine.
[...]
> > But this is probably not the best approach. Rather than
> > "poll" the server, presumably using a non-blocking recv() call (?)
> > you should investigate the select.select() function. Either
[...]
> I think I didn't describe correctly what I'm doing. I have a server
> written in Python which starts another process (a C++ program). This
[...]
A process is not a thread.
John
More information about the Python-list
mailing list