Searched refs:mutex_t (Results 1 – 10 of 10) 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()
106 #define mutex_t pthread_mutex_t macro137 int __libc_mutex_init(mutex_t *, const mutexattr_t *);138 int __libc_mutex_lock(mutex_t *);139 int __libc_mutex_trylock(mutex_t *);140 int __libc_mutex_unlock(mutex_t *);141 int __libc_mutex_destroy(mutex_t *);162 int __libc_cond_wait(cond_t *, mutex_t *);163 int __libc_cond_timedwait(cond_t *, mutex_t *, const struct timespec *);
72 mutex_lock((mutex_t *)dirp->dd_lock); in __weak_alias()81 mutex_unlock((mutex_t *)dirp->dd_lock); in __weak_alias()82 mutex_destroy((mutex_t *)dirp->dd_lock); in __weak_alias()
94 mutex_lock((mutex_t *)dirp->dd_lock); in readdir()96 mutex_unlock((mutex_t *)dirp->dd_lock); in readdir()114 mutex_lock((mutex_t *)dirp->dd_lock); in readdir_r()117 mutex_unlock((mutex_t *)dirp->dd_lock); in readdir_r()
119 if ((dirp->dd_lock = malloc(sizeof(mutex_t))) == NULL) in __opendir2()121 mutex_init((mutex_t *)dirp->dd_lock, NULL); in __opendir2()
28 m_lock = new mutex_t;42 m_lock = new mutex_t;54 m_lock = new mutex_t;137 mutex_t *m_lock;
38 mutex_t _lock; /* Lock for FLOCKFILE/FUNLOCKFILE */
459 extern mutex_t __gdtoa_locks[2];
670 static mutex_t gmt_mutex = MUTEX_INITIALIZER; in gmtsub()