Microthreads: wait( duration ) with minimal processor overhead, u

Randall Hopper aa8vb at yahoo.com
Tue May 30 08:16:41 EDT 2000


Courageous:
 |Eh? These are *microthreads*. Using thousands and thousands
 |of "normal" threads will clobber your cpu. And yet in a very
 |simple test of microthreads, I was able to spawn up 10,000 of
 |them and watch them finish in under 3 seconds flat. Quite
 |remarkable.

In Python, are normal threads kernel threads, and "microthreads" user-space
threads?  Is that the distinction?

(A python.org search turned up no useful information.)

Thanks,

Randall

-- 
Randall Hopper
aa8vb at yahoo.com




More information about the Python-list mailing list