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

Martin v. Loewis martin at v.loewis.de
Sun Aug 4 16:15:03 EDT 2002


a-steinhoff at web.de (Armin Steinhoff) writes:

> Hmm ... but why should the scheduler suspend a running thread if its
> timeslice isn't exhausted?? 

Because there is a higher-priority thread waiting for the
lock. Atleast, this might happen on systems that adjust priorities the
longer a thread is blocked/running.

Regards,
Martin




More information about the Python-list mailing list