mirror of
https://github.com/speice-io/release-the-gil
synced 2025-07-04 23:34:53 -04:00
Fibonacci and double-unlock examples
This commit is contained in:
8
src/double_unlock_cython.pyx
Normal file
8
src/double_unlock_cython.pyx
Normal file
@ -0,0 +1,8 @@
|
||||
cdef void _unlock() nogil:
|
||||
with nogil:
|
||||
pass
|
||||
|
||||
|
||||
def unlock():
|
||||
with nogil:
|
||||
_unlock()
|
Reference in New Issue
Block a user