Micro-Threads: uthreadsleep.py -- scheduling of uthreads to c ontinue processing after given seconds

Edward Jason Riedy ejr at lotus.CS.Berkeley.EDU
Wed May 24 18:35:34 EDT 2000

And Just van Rossum writes:
 - It appears to me that select.select() is only relevant in non-threaded 
 - programs (do you have an example of its use in a threaded 
 - environment?).

Zope.  In general, any time you can satisfy (100-k)% of the 
requests immediately, use select for those and spawn threads 
to handle the other k%.  (k depends on architecture, etc.)


More information about the Python-list mailing list