Home
last modified time | relevance | path

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

/third_party/python/Python/
Dthread_pthread.h411 sem_t *thelock = (sem_t *)lock; in PyThread_free_lock() local
417 if (!thelock) in PyThread_free_lock()
420 status = sem_destroy(thelock); in PyThread_free_lock()
423 PyMem_RawFree((void *)thelock); in PyThread_free_lock()
443 sem_t *thelock = (sem_t *)lock; in PyThread_acquire_lock_timed() local
476 status = fix_status(sem_clockwait(thelock, CLOCK_MONOTONIC, in PyThread_acquire_lock_timed()
479 status = fix_status(sem_timedwait(thelock, &ts)); in PyThread_acquire_lock_timed()
483 status = fix_status(sem_trywait(thelock)); in PyThread_acquire_lock_timed()
486 status = fix_status(sem_wait(thelock)); in PyThread_acquire_lock_timed()
558 sem_t *thelock = (sem_t *)lock; in PyThread_release_lock() local
[all …]