Searched refs:CHECK_STATUS (Results 1 – 3 of 3) sorted by relevance
31 #define CHECK_STATUS(name) if (status == -1) { printf("%d ", status); perror(name); error = 1; } macro102 CHECK_STATUS("pth_mutex_init"); in PyThread_allocate_lock()104 CHECK_STATUS("pth_cond_init"); in PyThread_allocate_lock()132 CHECK_STATUS("pth_mutex_acquire[1]"); in PyThread_acquire_lock()136 CHECK_STATUS("pth_mutex_release[1]"); in PyThread_acquire_lock()144 CHECK_STATUS("pth_mutex_acquire[2]"); in PyThread_acquire_lock()148 CHECK_STATUS("pth_cond_await"); in PyThread_acquire_lock()152 CHECK_STATUS("pth_mutex_release[2]"); in PyThread_acquire_lock()168 CHECK_STATUS("pth_mutex_acquire[3]"); in PyThread_release_lock()173 CHECK_STATUS("pth_mutex_release[3]"); in PyThread_release_lock()[all …]
120 #define CHECK_STATUS(name) if (status != 0) { perror(name); error = 1; } macro270 CHECK_STATUS("sem_init"); in PyThread_allocate_lock()295 CHECK_STATUS("sem_destroy"); in PyThread_free_lock()330 CHECK_STATUS("sem_wait"); in PyThread_acquire_lock()332 CHECK_STATUS("sem_trywait"); in PyThread_acquire_lock()351 CHECK_STATUS("sem_post"); in PyThread_release_lock()376 CHECK_STATUS("pthread_mutex_init"); in PyThread_allocate_lock()380 CHECK_STATUS("pthread_cond_init"); in PyThread_allocate_lock()402 CHECK_STATUS("pthread_mutex_destroy"); in PyThread_free_lock()405 CHECK_STATUS("pthread_cond_destroy"); in PyThread_free_lock()[all …]
196 #define CHECK_STATUS(name) if (status != 0) { perror(name); error = 1; } macro384 CHECK_STATUS("sem_init"); in PyThread_allocate_lock()409 CHECK_STATUS("sem_destroy"); in PyThread_free_lock()499 CHECK_STATUS("sem_timedwait"); in PyThread_acquire_lock_timed()503 CHECK_STATUS("sem_trywait"); in PyThread_acquire_lock_timed()506 CHECK_STATUS("sem_wait"); in PyThread_acquire_lock_timed()533 CHECK_STATUS("sem_post"); in PyThread_release_lock()