
Oct. 20, 2009
10:13 p.m.
Benjamin Peterson skrev:
I eagerly await your patch!
I'd gladly contribute to the effort, but I did not say it is an easy task :-) I just wanted to bring this up: - The GIL has consequences on multicore CPUs that are overlooked: thread switches are usually missed at check intervals. This could be fixed without removing the GIL: For example, there could be a wait-queue for the GIL; a thread that request the GIL puts itself in the back. - Also, fine grained locking is not the only alternative to a global lock. No locks at all is even better. Sturla Molden