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 classes.
Stefan _______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel