File size: 339 Bytes
d1ceb73
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cdef extern from "mutex.h" nogil:
    ctypedef struct mutex_t:
        pass
    cdef mutex_t* mutex_allocate()
    cdef void mutex_dallocate(mutex_t*)
    cdef int mutex_lock(mutex_t*)
    cdef int mutex_unlock(mutex_t*)

cdef extern from "getpid_compat.h":
    int getpid()

cdef extern from "ipcmaxlen.h":
    int get_ipc_path_max_len()