nogil for functions in locale.pxd and math.pxd
authorLisandro Dalcin <dalcinl@gmail.com>
Thu, 24 Feb 2011 16:49:52 +0000 (13:49 -0300)
committerLisandro Dalcin <dalcinl@gmail.com>
Thu, 24 Feb 2011 16:49:52 +0000 (13:49 -0300)
Cython/Includes/libc/locale.pxd
Cython/Includes/libc/math.pxd

index dca3a05d39d98959b66cda2082bb53fa41e2b70d..0106bc92fc65d1e5f008c000a763861a71d9d32b 100644 (file)
@@ -3,7 +3,7 @@
 cdef extern from *:
     ctypedef char const_char "const char"
 
-cdef extern from "locale.h":
+cdef extern from "locale.h" nogil:
 
     struct lconv:
         char *decimal_point
index 1c2d66d44d747e585c4dffabab4c62cdd9b6e8f8..0398c3bafa0487aa6668f9bc294bce6f9ee0e6bb 100644 (file)
@@ -1,4 +1,4 @@
-cdef extern from "math.h":
+cdef extern from "math.h" nogil:
 
     enum: M_E
     enum: M_LOG2E