[Cython] OpenMP support

Stefan Behnel stefan_ml at behnel.de
Fri Mar 11 15:24:06 CET 2011


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


More information about the cython-devel mailing list