Lines Matching refs:mut
57 #define MUTEX_INIT(mut) \ argument
58 if (PyMUTEX_INIT(&(mut))) { \
59 Py_FatalError("PyMUTEX_INIT(" #mut ") failed"); };
60 #define MUTEX_FINI(mut) \ argument
61 if (PyMUTEX_FINI(&(mut))) { \
62 Py_FatalError("PyMUTEX_FINI(" #mut ") failed"); };
63 #define MUTEX_LOCK(mut) \ argument
64 if (PyMUTEX_LOCK(&(mut))) { \
65 Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
66 #define MUTEX_UNLOCK(mut) \ argument
67 if (PyMUTEX_UNLOCK(&(mut))) { \
68 Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
79 #define COND_WAIT(cond, mut) \ argument
80 if (PyCOND_WAIT(&(cond), &(mut))) { \
82 #define COND_TIMED_WAIT(cond, mut, microseconds, timeout_result) \ argument
84 int r = PyCOND_TIMEDWAIT(&(cond), &(mut), (microseconds)); \