Home
last modified time | relevance | path

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

/Zephyr-latest/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.deprecated224 bool "pthread_spinlock_t support [DEPRECATED]"
233 bool "pthread_spinlock_t support [DEPRECATED]"
/Zephyr-latest/tests/posix/spinlocks/src/
Dmain.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-latest/include/zephyr/posix/
Dpthread.h522 int pthread_spin_destroy(pthread_spinlock_t *lock);
529 int pthread_spin_init(pthread_spinlock_t *lock, int pshared);
536 int pthread_spin_lock(pthread_spinlock_t *lock);
543 int pthread_spin_trylock(pthread_spinlock_t *lock);
550 int pthread_spin_unlock(pthread_spinlock_t *lock);
Dposix_types.h103 typedef uint32_t pthread_spinlock_t; typedef