Sturla Molden, 11.03.2011 15:19:
Den 11.03.2011 12:43, skrev Stefan Behnel:

What's your use actual case for this?


Just avoid different syntax inside and outside nogil-blocks. I like this style

with openmp.critical:
    <suite>

better than what is currently legal with nogil:

openmp.critical()
if 1:
    <suite>
openmp.end_critical()

No, I meant, what is your specific need to "cpdef" in this context?

Stefan
_______________________________________________
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to