_externs.pxd 349 B

12345678910111213
  1. cdef extern from "mutex.h" nogil:
  2. ctypedef struct mutex_t:
  3. pass
  4. cdef mutex_t* mutex_allocate()
  5. cdef void mutex_dallocate(mutex_t*)
  6. cdef int mutex_lock(mutex_t*)
  7. cdef int mutex_unlock(mutex_t*)
  8. cdef extern from "getpid_compat.h":
  9. cdef int getpid()
  10. cdef extern from "ipcmaxlen.h":
  11. cdef int get_ipc_path_max_len()