[SciPy-user] threading and scipy

Robert Kern robert.kern at gmail.com
Sun May 18 19:25:03 EDT 2008


On Sun, May 18, 2008 at 5:02 PM, Damian Eads <eads at soe.ucsc.edu> wrote:
> Being that I don't see any code in ndimage that releases the global
> interpreter lock, is it true that if I wrote code to spawn separate
> filter threads, only one would execute at a time?

Yes. You may be interested in using pyprocessing which implements an
API like the threading module but uses subprocesses instead.

  http://pyprocessing.berlios.de/

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
 -- Umberto Eco



More information about the SciPy-User mailing list