Searched refs:pthread_spinlock_t (Results 1 – 17 of 17) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
H A D | pthread.d | 954 int pthread_spin_destroy(pthread_spinlock_t*); 955 int pthread_spin_init(pthread_spinlock_t*, int); 956 int pthread_spin_lock(pthread_spinlock_t*); 957 int pthread_spin_trylock(pthread_spinlock_t*); 958 int pthread_spin_unlock(pthread_spinlock_t*); 962 int pthread_spin_init(pthread_spinlock_t*, int); 963 int pthread_spin_destroy(pthread_spinlock_t*); 964 int pthread_spin_lock(pthread_spinlock_t*); 965 int pthread_spin_trylock(pthread_spinlock_t*); 966 int pthread_spin_unlock(pthread_spinlock_t*); [all …]
|
/netbsd-src/lib/libpthread/ |
H A D | pthread_spin.c | 56 pthread_spin_init(pthread_spinlock_t *lock, int pshared) in pthread_spin_init() 77 pthread_spin_destroy(pthread_spinlock_t *lock) in pthread_spin_destroy() 92 pthread_spin_lock(pthread_spinlock_t *lock) in pthread_spin_lock() 108 pthread_spin_trylock(pthread_spinlock_t *lock) in pthread_spin_trylock() 122 pthread_spin_unlock(pthread_spinlock_t *lock) in pthread_spin_unlock()
|
H A D | pthread.h | 186 int pthread_spin_init(pthread_spinlock_t *, int); 187 int pthread_spin_destroy(pthread_spinlock_t *); 188 int pthread_spin_lock(pthread_spinlock_t *); 189 int pthread_spin_trylock(pthread_spinlock_t *); 190 int pthread_spin_unlock(pthread_spinlock_t *);
|
H A D | pthread_types.h | 83 typedef struct __pthread_spinlock_st pthread_spinlock_t; typedef
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/ |
H A D | types.d | 885 struct pthread_spinlock_t { in version() 1399 alias int pthread_spinlock_t; // volatile 1403 alias void* pthread_spinlock_t; 1411 alias void* pthread_spinlock_t; 1415 alias void* pthread_spinlock_t; 1419 alias pthread_mutex_t pthread_spinlock_t; 1423 alias int pthread_spinlock_t; // volatile 1427 alias int pthread_spinlock_t;
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/tests/rtl/ |
H A D | tsan_test_util_posix.cc | 108 CHECK_EQ(pthread_spin_init((pthread_spinlock_t*)mtx_, 0), 0); in Init() 131 CHECK_EQ(pthread_spin_destroy((pthread_spinlock_t*)mtx_), 0); in Destroy() 143 CHECK_EQ(pthread_spin_lock((pthread_spinlock_t*)mtx_), 0); in Lock() 155 return pthread_spin_trylock((pthread_spinlock_t*)mtx_) == 0; in TryLock() 168 CHECK_EQ(pthread_spin_unlock((pthread_spinlock_t*)mtx_), 0); in Unlock()
|
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/dd/ |
H A D | dd_interceptors.cc | 71 INTERCEPTOR(int, pthread_spin_destroy, pthread_spinlock_t *m) { in INTERCEPTOR() 78 INTERCEPTOR(int, pthread_spin_lock, pthread_spinlock_t *m) { in INTERCEPTOR() 86 INTERCEPTOR(int, pthread_spin_trylock, pthread_spinlock_t *m) { in INTERCEPTOR() 94 INTERCEPTOR(int, pthread_spin_unlock, pthread_spinlock_t *m) { in INTERCEPTOR()
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/config/rtems/ |
H A D | pool.h | 42 pthread_spinlock_t lock;
|
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/rtems/ |
H A D | pool.h | 42 pthread_spinlock_t lock;
|
/netbsd-src/external/bsd/unbound/dist/testcode/ |
H A D | checklocks.h | 171 pthread_spinlock_t spinlock;
|
H A D | checklocks.c | 544 { return pthread_spin_trylock((pthread_spinlock_t*)arg); } in try_spinlock()
|
/netbsd-src/external/bsd/unbound/dist/util/ |
H A D | locks.h | 135 typedef pthread_spinlock_t lock_quick_type;
|
/netbsd-src/lib/libukfs/ |
H A D | ukfs.c | 72 pthread_spinlock_t ukfs_spin; 158 pthread_spinlock_t part_lck;
|
/netbsd-src/lib/librumpuser/ |
H A D | rumpuser_pth.c | 269 pthread_spinlock_t spin;
|
/netbsd-src/external/bsd/unbound/dist/ |
H A D | config.h.in | 481 /* Define to 1 if the system has the type `pthread_spinlock_t'. */
|
H A D | configure.ac | 628 AC_CHECK_TYPES([pthread_spinlock_t, pthread_rwlock_t],,,[#include <pthread.h>])
|
/netbsd-src/external/gpl3/gcc/dist/libgomp/ |
H A D | ChangeLog | 9124 pthread_spinlock_t instead of gomp_mutex_t lock.
|