Searched refs:mutex_t (Results 1 – 7 of 7) sorted by relevance
82 mutex_t *lock; in PyThread_allocate_lock()88 lock = (mutex_t *) malloc(sizeof(mutex_t)); in PyThread_allocate_lock()102 mutex_destroy((mutex_t *) lock); in PyThread_free_lock()113 success = mutex_lock((mutex_t *) lock); in PyThread_acquire_lock()115 success = mutex_trylock((mutex_t *) lock); in PyThread_acquire_lock()128 if (mutex_unlock((mutex_t *) lock)) in PyThread_release_lock()
68 mutex_t lock; in PyThread_allocate_lock()98 mutex_lock((mutex_t)lock); in PyThread_acquire_lock()101 success = mutex_try_lock((mutex_t)lock); in PyThread_acquire_lock()111 mutex_unlock((mutex_t )lock); in PyThread_release_lock()
92 using mutex_t = std::mutex; variable93 using lock_guard_t = std::lock_guard<mutex_t>;94 using unique_lock_t = std::unique_lock<mutex_t>;
33 typedef pthread_mutex_t mutex_t; typedef40 typedef uint32_t mutex_t; typedef111 mutex_t quarantine_lock = MUTEX_INITIALIZER;
215 typedef CRITICAL_SECTION mutex_t; typedef229 typedef pthread_mutex_t mutex_t; typedef372 mutex_t mutex;
180 typedef CRITICAL_SECTION mutex_t; typedef194 typedef pthread_mutex_t mutex_t; typedef343 mutex_t mutex;