CofeehousePy/deps/scikit-image/skimage/feature/safe_openmp.pxd

9 lines
367 B
Cython
Raw Normal View History

2021-01-14 08:07:24 +01:00
cdef extern from "conditional_omp.h":
ctypedef struct omp_lock_t:
pass
extern void omp_init_lock(omp_lock_t *) nogil
extern void omp_destroy_lock(omp_lock_t *) nogil
extern void omp_set_lock(omp_lock_t *) nogil
extern void omp_unset_lock(omp_lock_t *) nogil
extern int omp_test_lock(omp_lock_t *) nogil
2021-01-13 04:08:17 +01:00
cdef int have_openmp