global interpreter lock not working as it should
Paul Rubin
phr-n2002b at NOSPAMnightsong.com
Wed Jul 31 03:15:47 EDT 2002
anton wilson <anton.wilson at camotion.com> writes:
> > Quick tangential question: if there's no blocking of any kind, why are you
> > using threads, anyway? Off the cuff thinking says this seems like a misuse
> > of them.
>
> For a real-time system. ;) It will work. It would just be nice if they
> switched exactly every 10 byte codes becuase that means they only use about
> 10 to 20 milliseconds each.
Maybe you want to switch to Stackless Python and use microthreads.
See www.stackless.org.
More information about the Python-list
mailing list