Searched refs:CHECK_STATUS (Results 1 – 1 of 1) sorted by relevance
208 #define CHECK_STATUS(name) if (status != 0) { perror(name); error = 1; } macro396 CHECK_STATUS("sem_init"); in PyThread_allocate_lock()421 CHECK_STATUS("sem_destroy"); in PyThread_free_lock()527 CHECK_STATUS("sem_clockwait"); in PyThread_acquire_lock_timed()529 CHECK_STATUS("sem_timedwait"); in PyThread_acquire_lock_timed()535 CHECK_STATUS("sem_trywait"); in PyThread_acquire_lock_timed()538 CHECK_STATUS("sem_wait"); in PyThread_acquire_lock_timed()565 CHECK_STATUS("sem_post"); in PyThread_release_lock()