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

Martin v. Loewis martin at v.loewis.de
Wed Aug 7 00:49:24 CEST 2002


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.

Regards,
Martin




More information about the Python-list mailing list