[Python-Dev] Fixing the GIL (with a BFS scheduler) (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Tue May 18 23:50:26 CEST 2010


On Tue, 18 May 2010 14:39:43 -0700 Mike Klaas <mike.klaas at gmail.com> wrote:

On Sun, May 16, 2010 at 1:07 PM, Nir Aides <nir at winpdb.org> wrote:

> Relevant Python issue: http://bugs.python.org/issue7946 Is there any chance Antoine's "gilinter" patch from that issue might be applied to python 2.7? I have been experiencing rare long delays in simple io operations in multithreaded python applications, and I suspect that they might be related to this issue.

There's no chance for this since the patch relies on the new GIL. (that's unless there's a rush to backport the new GIL in 2.7, of course)

I think your "rare long delays" might be related to the old GIL's own problems, though. How long are they?

Regards

Antoine.



More information about the Python-Dev mailing list