[Cython] OpenMP support

Stefan Behnel stefan_ml at behnel.de
Tue Mar 8 17:32:31 CET 2011

mark florisson, 08.03.2011 17:10:
> But how useful is it to parallelize CPU-bound code while holding GIL?
> Or do you mean to run the CPU-intensive section in a 'with nogil'
> block and when you need to do locking, or when you need to deal with
> Python objects you reaqcuire the GIL?

You don't need the GIL in order to use Python's C-level locking mechanism. 
You won't have access to Event, RLock, etc., though, as they are Python API 


More information about the cython-devel mailing list