Home
last modified time | relevance | path

Searched refs:CHECK_STATUS (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Python/
Dthread_pth.h31 #define CHECK_STATUS(name) if (status == -1) { printf("%d ", status); perror(name); error = 1; } macro
102 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 …]
Dthread_pthread.h120 #define CHECK_STATUS(name) if (status != 0) { perror(name); error = 1; } macro
270 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 …]
/external/python/cpython3/Python/
Dthread_pthread.h196 #define CHECK_STATUS(name) if (status != 0) { perror(name); error = 1; } macro
384 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()