Python threading (was: Re: global interpreter lock not working as it should)

brueckd at brueckd at
Wed Aug 7 00:10:33 CEST 2002

On 6 Aug 2002, Armin Steinhoff wrote:

> Hi All,
> after modifying ceval.c and the lock support for POSIX systems ... here some
> results.
> The number of thread switches is 10 times higher with the new lock routines.
> After including a conditional sched_yield() .. the thread switches speeds up 
> by the factor 23 :) 

So now the big question is: how does this affect the performance of Python 
programs that already work great (i.e. multithreaded Python programs that 
actually do real work)?


More information about the Python-list mailing list