Python threading (was: Re: global interpreter lock not working as it should)
anton.wilson at camotion.com
Wed Aug 7 20:09:38 CEST 2002
On Tuesday 06 August 2002 06:49 pm, Martin v. Loewis wrote:
> anton wilson <anton.wilson at camotion.com> writes:
> > This is true; however, we're still making tons of system calls to lock,
> > unlock and signal every ten byte-codes . . . system calls aren't very
> > fast either because you have to drop into kernel mode (also a switch).
> Now, that highly depends on the operating system. Atleast on Linux,
> there won't be any system calls to lock and unlock; there are system
> calls to signal.
Don't forget about the calls made by the one or two or more woken up threads
when they realize the lock is still locked.
More information about the Python-list