Back on topic, now that I have a dual core machine, something has become a real issue for me: the global interpreter lock. Last time I researched it, it wasn’t a big deal because I only had one processor. Now I want to leverage these processors, but unfortunately I am only left with pseudo threads. I believe jython actually implements threading using java threads. Anyone have clever solutions around this besides running jython?
Related posts:
#1 by John Gill on May 28, 2007 - 5:22 pm
Quote
You might be interested in this branch of ipython that is creating some neat tools to help with parallel computing.
http://ipython.scipy.org/moin/Parallel_Computing
#2 by Travis on May 29, 2007 - 12:52 am
Quote
You’re supposed to fork if you want to use multiple processors. If you’re dead set on threads or believe they are the only way to solve your problem (they’re not) then you’ll have to live with using one core/processor as the GIL is here to stay, even in Python 3000.