Home
last modified time | relevance | path

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 Dpthread.d954 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 Dpthread_spin.c56 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 Dpthread.h186 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 Dpthread_types.h83 typedef struct __pthread_spinlock_st pthread_spinlock_t; typedef
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/
H A Dtypes.d885 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 Dtsan_test_util_posix.cc108 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 Ddd_interceptors.cc71 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 Dpool.h42 pthread_spinlock_t lock;
/netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/rtems/
H A Dpool.h42 pthread_spinlock_t lock;
/netbsd-src/external/bsd/unbound/dist/testcode/
H A Dchecklocks.h171 pthread_spinlock_t spinlock;
H A Dchecklocks.c544 { return pthread_spin_trylock((pthread_spinlock_t*)arg); } in try_spinlock()
/netbsd-src/external/bsd/unbound/dist/util/
H A Dlocks.h135 typedef pthread_spinlock_t lock_quick_type;
/netbsd-src/lib/libukfs/
H A Dukfs.c72 pthread_spinlock_t ukfs_spin;
158 pthread_spinlock_t part_lck;
/netbsd-src/lib/librumpuser/
H A Drumpuser_pth.c269 pthread_spinlock_t spin;
/netbsd-src/external/bsd/unbound/dist/
H A Dconfig.h.in481 /* Define to 1 if the system has the type `pthread_spinlock_t'. */
H A Dconfigure.ac628 AC_CHECK_TYPES([pthread_spinlock_t, pthread_rwlock_t],,,[#include <pthread.h>])
/netbsd-src/external/gpl3/gcc/dist/libgomp/
H A DChangeLog9124 pthread_spinlock_t instead of gomp_mutex_t lock.