Searched refs:pthread_spinlock_t (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/bionic/ |
D | pthread_spinlock.cpp | 40 static_assert(sizeof(pthread_spinlock_t) == sizeof(pthread_spinlock_internal_t), 43 static_assert(alignof(pthread_spinlock_t) >= 4, 46 static inline pthread_spinlock_internal_t* __get_internal_spinlock(pthread_spinlock_t* lock) { in __get_internal_spinlock() 50 int pthread_spin_init(pthread_spinlock_t* lock_interface, int pshared) { in pthread_spin_init() 56 int pthread_spin_destroy(pthread_spinlock_t* lock_interface) { in pthread_spin_destroy() 61 int pthread_spin_trylock(pthread_spinlock_t* lock_interface) { in pthread_spin_trylock() 66 int pthread_spin_lock(pthread_spinlock_t* lock_interface) { in pthread_spin_lock() 77 int pthread_spin_unlock(pthread_spinlock_t* lock_interface) { in pthread_spin_unlock()
|
/bionic/tests/headers/posix/ |
D | pthread_h.c | 86 TYPE(pthread_spinlock_t); in pthread_h() 203 FUNCTION(pthread_spin_destroy, int (*f)(pthread_spinlock_t*)); in pthread_h() 204 FUNCTION(pthread_spin_init, int (*f)(pthread_spinlock_t*, int)); in pthread_h() 205 FUNCTION(pthread_spin_lock, int (*f)(pthread_spinlock_t*)); in pthread_h() 206 FUNCTION(pthread_spin_trylock, int (*f)(pthread_spinlock_t*)); in pthread_h() 207 FUNCTION(pthread_spin_unlock, int (*f)(pthread_spinlock_t*)); in pthread_h()
|
D | sys_types_h.c | 60 TYPE(pthread_spinlock_t); in sys_types_h()
|
/bionic/libc/include/ |
D | pthread.h | 254 int pthread_spin_destroy(pthread_spinlock_t* _Nonnull __spinlock) __INTRODUCED_IN(24); 255 int pthread_spin_init(pthread_spinlock_t* _Nonnull __spinlock, int __shared) __INTRODUCED_IN(24); 256 int pthread_spin_lock(pthread_spinlock_t* _Nonnull __spinlock) __INTRODUCED_IN(24); 257 int pthread_spin_trylock(pthread_spinlock_t* _Nonnull __spinlock) __INTRODUCED_IN(24); 258 int pthread_spin_unlock(pthread_spinlock_t* _Nonnull __spinlock) __INTRODUCED_IN(24);
|
/bionic/libc/include/bits/ |
D | pthread_types.h | 101 } pthread_spinlock_t; typedef
|
/bionic/tests/ |
D | pthread_test.cpp | 2838 pthread_spinlock_t lock; in TEST()
|