release-the-gil/src/double_unlock_cython.pyx

9 lines
106 B
Cython

cdef void _unlock() nogil:
with nogil:
pass
def unlock():
with nogil:
_unlock()