global interpreter lock not working as it should

Armin Steinhoff a-steinhoff at web.de
Wed Jul 31 14:53:21 EDT 2002


Paul Rubin <phr-n2002b at NOSPAMnightsong.com> wrote in message news:<7xptx4z7to.fsf at ruckus.brouhaha.com>...
> 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.

When we talking about real 'real-time' ... then you should use QNX6.2 plus
Stackless Python :)

Python 2.2.1 for QNX6 is available at http://www.sf.net/projects/pyqnx
There is also a 'configure script' ..

Cheers 

Armin



More information about the Python-list mailing list