Home
last modified time | relevance | path

Searched refs:pthread_spinlock_t (Results 1 - 25 of 52) sorted by relevance

123

/third_party/musl/libc-test/src/api/
H A Dpthread.c17 T(pthread_spinlock_t) in f()
142 {int(*p)(pthread_spinlock_t*) = pthread_spin_destroy;} in f()
143 {int(*p)(pthread_spinlock_t*,int) = pthread_spin_init;} in f()
144 {int(*p)(pthread_spinlock_t*) = pthread_spin_lock;} in f()
145 {int(*p)(pthread_spinlock_t*) = pthread_spin_trylock;} in f()
146 {int(*p)(pthread_spinlock_t*) = pthread_spin_unlock;} in f()
H A Dsys_types.c40 T(pthread_spinlock_t) in f()
/third_party/musl/porting/uniproton/kernel/include/
H A Dpthread.h138 int pthread_spin_init(pthread_spinlock_t *, int);
139 int pthread_spin_destroy(pthread_spinlock_t *);
140 int pthread_spin_lock(pthread_spinlock_t *);
141 int pthread_spin_trylock(pthread_spinlock_t *);
142 int pthread_spin_unlock(pthread_spinlock_t *);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dpthread.h138 int pthread_spin_init(pthread_spinlock_t *, int);
139 int pthread_spin_destroy(pthread_spinlock_t *);
140 int pthread_spin_lock(pthread_spinlock_t *);
141 int pthread_spin_trylock(pthread_spinlock_t *);
142 int pthread_spin_unlock(pthread_spinlock_t *);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dpthread.h138 int pthread_spin_init(pthread_spinlock_t *, int);
139 int pthread_spin_destroy(pthread_spinlock_t *);
140 int pthread_spin_lock(pthread_spinlock_t *);
141 int pthread_spin_trylock(pthread_spinlock_t *);
142 int pthread_spin_unlock(pthread_spinlock_t *);
/third_party/musl/porting/liteos_m/user/include/
H A Dpthread.h131 int pthread_spin_init(pthread_spinlock_t *, int);
132 int pthread_spin_destroy(pthread_spinlock_t *);
133 int pthread_spin_lock(pthread_spinlock_t *);
134 int pthread_spin_trylock(pthread_spinlock_t *);
135 int pthread_spin_unlock(pthread_spinlock_t *);
/third_party/musl/porting/linux/user/include/
H A Dpthread.h311 int pthread_spin_init(pthread_spinlock_t *, int);
312 int pthread_spin_destroy(pthread_spinlock_t *);
313 int pthread_spin_lock(pthread_spinlock_t *);
314 int pthread_spin_trylock(pthread_spinlock_t *);
315 int pthread_spin_unlock(pthread_spinlock_t *);
/third_party/musl/include/
H A Dpthread.h285 int pthread_spin_init(pthread_spinlock_t *, int);
286 int pthread_spin_destroy(pthread_spinlock_t *);
287 int pthread_spin_lock(pthread_spinlock_t *);
288 int pthread_spin_trylock(pthread_spinlock_t *);
289 int pthread_spin_unlock(pthread_spinlock_t *);
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_spin_lock.c20 pthread_spinlock_t lock = 0;
39 pthread_spinlock_t spin; in pthread_spin_lock_0100()
H A Dpthread_spin_unlock.c20 pthread_spinlock_t lock = 0;
/third_party/musl/src/thread/
H A Dpthread_spin_destroy.c3 int pthread_spin_destroy(pthread_spinlock_t *s) in pthread_spin_destroy()
H A Dpthread_spin_init.c3 int pthread_spin_init(pthread_spinlock_t *s, int shared) in pthread_spin_init()
H A Dpthread_spin_unlock.c3 int pthread_spin_unlock(pthread_spinlock_t *s) in pthread_spin_unlock()
H A Dpthread_spin_lock.c4 int pthread_spin_lock(pthread_spinlock_t *s) in pthread_spin_lock()
H A Dpthread_spin_trylock.c4 int pthread_spin_trylock(pthread_spinlock_t *s) in pthread_spin_trylock()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
H A D3-12-buildonly.c8 Test pthread_spinlock_t
14 static pthread_spinlock_t dummy;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_trylock/
H A D4-1.c7 * Test pthread_spin_trylock(pthread_spinlock_t *lock)
28 pthread_spinlock_t spinlock; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_destroy/
H A D1-1.c7 * Test pthread_spin_destroy(pthread_spinlock_t * lock)
13 * 1. Initialize a pthread_spinlock_t object 'spinlock' with
27 static pthread_spinlock_t spinlock;
H A D3-1.c7 * Test pthread_spin_destroy(pthread_spinlock_t *lock) may fail if:
17 * 1. Initialize a pthread_spinlock_t object 'spinlock' with
32 static pthread_spinlock_t spinlock;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_init/
H A D1-1.c7 * Test pthread_spin_init(pthread_spinlock_t * lock, int pshared)
14 * 1. Initialize a pthread_spinlock_t object 'spinlock' with
29 static pthread_spinlock_t spinlock;
H A D4-1.c7 * Test pthread_spin_init(pthread_spinlock_t * lock, int pshared)
17 * 1. Initialize a pthread_spinlock_t object 'spinlock' with
33 static pthread_spinlock_t spinlock;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_spin_lock/
H A D3-2.c7 * Test pthread_spin_lock(pthread_spinlock_t *lock)
44 pthread_spinlock_t spinlock; in main()
H A D3-1.c7 * Test pthread_spin_lock(pthread_spinlock_t *lock)
37 pthread_spinlock_t spinlock; in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dpthread_spin_test.cpp9 pthread_spinlock_t spinLock;
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/
H A Dmod.rs707 pub fn pthread_spin_init(lock: *mut pthread_spinlock_t, pshared: ::c_int) -> ::c_int; in pthread_spin_init()
708 pub fn pthread_spin_destroy(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_destroy()
709 pub fn pthread_spin_lock(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_lock()
710 pub fn pthread_spin_trylock(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_trylock()
711 pub fn pthread_spin_unlock(lock: *mut pthread_spinlock_t) -> ::c_int; in pthread_spin_unlock()

Completed in 12 milliseconds

123