On 2009-09-29 13:19 PM, Dag Sverre Seljebotn wrote:
> Sturla Molden wrote:

>> - The third is NumPy not releasing the GIL, and restricting
>> multithreaded code to one CPU.
>
> Out of curiosity, does it happen often that NumPy does not release the
> GIL? Because of necessity or because it's just not been implemented?

All ufuncs release the GIL if they are not dealing with object dtypes or the 
new 
datetime dtypes. Some of the other computational routines might not release the 
GIL when they could.

-- 
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

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to