Python threading (was: Re: global interpreter lock not working as it should)
brueckd at tbye.com
brueckd at tbye.com
Tue Aug 6 18:10:33 EDT 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)?
-Dave
More information about the Python-list
mailing list