Home
last modified time | relevance | path

Searched refs:pthread_spinlock_t (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.6.0/lib/posix/options/
Dspinlock.c41 static inline size_t to_posix_spinlock_idx(pthread_spinlock_t lock) in to_posix_spinlock_idx()
46 static struct k_spinlock *get_posix_spinlock(pthread_spinlock_t *lock) in get_posix_spinlock()
74 int pthread_spin_init(pthread_spinlock_t *lock, int pshared) in pthread_spin_init()
95 int pthread_spin_destroy(pthread_spinlock_t *lock) in pthread_spin_destroy()
114 int pthread_spin_lock(pthread_spinlock_t *lock) in pthread_spin_lock()
131 int pthread_spin_trylock(pthread_spinlock_t *lock) in pthread_spin_trylock()
146 int pthread_spin_unlock(pthread_spinlock_t *lock) in pthread_spin_unlock()
DKconfig.spinlock6 type = pthread_spinlock_t
/Zephyr-Core-3.6.0/tests/posix/common/src/
Dspinlock.c14 pthread_spinlock_t lock; in ZTEST()
29 pthread_spinlock_t lock[CONFIG_MAX_PTHREAD_SPINLOCK_COUNT]; in ZTEST()
52 pthread_spinlock_t lock; in ZTEST()
/Zephyr-Core-3.6.0/include/zephyr/posix/
Dpthread.h523 int pthread_spin_destroy(pthread_spinlock_t *lock);
530 int pthread_spin_init(pthread_spinlock_t *lock, int pshared);
537 int pthread_spin_lock(pthread_spinlock_t *lock);
544 int pthread_spin_trylock(pthread_spinlock_t *lock);
551 int pthread_spin_unlock(pthread_spinlock_t *lock);
Dposix_types.h54 typedef uint32_t pthread_spinlock_t; typedef