> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf
> Of Antoine Pitrou
> Sent: 21. október 2009 10:52
> To: [email protected]
> Subject: Re: [Python-Dev] GIL behaviour under Windows
> 
> 
> Hello Kristjan,
> 
> > This depends entirely on the platform and primitives used to
> implement the GIL.
> > I'm interested in windows.
> 
> Could you try ccbench (*) under Windows? The only Windows system I have
> here is
> a qemu virtual machine and it wouldn't be very realistic to do
> concurrency
> measurements on it.
> 

Hi, I just want to stress, that according to my test, the current GIL 
implementation works as intended on windows.  But if we were to reimplement it, 
say using a CriticalSection, then yielding the GIL as we do in 
sys.checkinterval wouldn't work as intended anymore.  Just something to keep in 
mind in case anyone is thinking along those lines.

K

_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to