Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/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
269 CHECK_STATUS("sem_init"); in PyThread_allocate_lock()
293 CHECK_STATUS("sem_destroy"); in PyThread_free_lock()
327 CHECK_STATUS("sem_wait"); in PyThread_acquire_lock()
329 CHECK_STATUS("sem_trywait"); in PyThread_acquire_lock()
347 CHECK_STATUS("sem_post"); in PyThread_release_lock()
372 CHECK_STATUS("pthread_mutex_init"); in PyThread_allocate_lock()
376 CHECK_STATUS("pthread_cond_init"); in PyThread_allocate_lock()
397 CHECK_STATUS("pthread_mutex_destroy"); in PyThread_free_lock()
400 CHECK_STATUS("pthread_cond_destroy"); in PyThread_free_lock()
[all …]