Stopping a python thread

Oleg Broytmann phd at phd.russ.ru
Fri Oct 20 04:01:55 EDT 2000


On 20 Oct 2000, Andrew Markebo wrote:
> |    But what if a thread just waited for some event and cannot return? For
> | example, a thread that uses urllib to retrieve a file and urllib just
> | hangs; you know, urllib is pretty bad regarding timeouts :(
> 
> You use an alternative to urllib, that uses a select-loop for reading

   With select(), I do not need threads at all :)

> :-) Get in touch with me and I can see if I can dig up the latest of
> my httpp.py and socketp.py modules for you :-)

   Waiting... 12% complete... :)))

Oleg.            (All opinions are mine and not of my employer)
---- 
    Oleg Broytmann      Foundation for Effective Policies      phd at phd.russ.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list