[Python-Dev] GIL behaviour under Windows (original) (raw)
Kristján Valur Jónsson kristjan at ccpgames.com
Wed Oct 21 15:15:59 CEST 2009
- Previous message: [Python-Dev] GIL behaviour under Windows
- Next message: [Python-Dev] GIL behaviour under Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----Original Message----- From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of Antoine Pitrou Sent: 21. október 2009 10:52 To: python-dev at python.org 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
- Previous message: [Python-Dev] GIL behaviour under Windows
- Next message: [Python-Dev] GIL behaviour under Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]