Searched refs:pthread_mutex (Results 1 – 7 of 7) sorted by relevance
| /NextBSD/lib/libthr/thread/ |
| HD | thr_mutex.c | 95 static int mutex_unlock_common(struct pthread_mutex *, int, int *); 131 struct pthread_mutex *pmutex; in mutex_init() 145 calloc_cb(1, sizeof(struct pthread_mutex))) == NULL) in mutex_init() 199 set_inherited_priority(struct pthread *curthread, struct pthread_mutex *m) in set_inherited_priority() 201 struct pthread_mutex *m2; in set_inherited_priority() 238 struct pthread_mutex *m; in _mutex_fork() 318 struct pthread_mutex *m = *mutex; in mutex_trylock_common() 339 struct pthread_mutex *m; in __pthread_mutex_trylock() 347 mutex_lock_sleep(struct pthread *curthread, struct pthread_mutex *m, in mutex_lock_sleep() 415 mutex_lock_common(struct pthread_mutex *m, in mutex_lock_common() [all …]
|
| HD | thr_private.h | 80 TAILQ_HEAD(mutex_queue, pthread_mutex); 130 #define THR_MUTEX_INITIALIZER ((struct pthread_mutex *)NULL) 131 #define THR_ADAPTIVE_MUTEX_INITIALIZER ((struct pthread_mutex *)1) 132 #define THR_MUTEX_DESTROYED ((struct pthread_mutex *)2) 145 struct pthread_mutex { struct 158 TAILQ_ENTRY(pthread_mutex) m_qe; argument 519 struct pthread_mutex *mutex_obj; 734 int _mutex_cv_lock(struct pthread_mutex *, int) __hidden; 735 int _mutex_cv_unlock(struct pthread_mutex *, int *, int *) __hidden; 736 int _mutex_cv_attach(struct pthread_mutex *, int) __hidden; [all …]
|
| HD | thr_cond.c | 161 cond_wait_kernel(struct pthread_cond *cvp, struct pthread_mutex *mp, in cond_wait_kernel() 213 cond_wait_user(struct pthread_cond *cvp, struct pthread_mutex *mp, in cond_wait_user() 295 struct pthread_mutex *mp; in cond_wait_common() 358 struct pthread_mutex *mp; in cond_signal_common() 416 struct pthread_mutex *mp; in drop_cb()
|
| /NextBSD/lib/libc/gen/ |
| HD | gen-private.h | 36 struct pthread_mutex; 52 struct pthread_mutex *dd_lock; /* lock */
|
| /NextBSD/sys/sys/ |
| HD | _pthreadtypes.h | 48 struct pthread_mutex; 69 typedef struct pthread_mutex *pthread_mutex_t;
|
| /NextBSD/lib/libstdthreads/ |
| HD | threads.h | 44 typedef struct pthread_mutex *mtx_t;
|
| /NextBSD/include/ |
| HD | stdio.h | 142 struct pthread_mutex *_fl_mutex; /* used for MT-safety */
|