Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.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.deprecated224 bool "pthread_spinlock_t support [DEPRECATED]"
233 bool "pthread_spinlock_t support [DEPRECATED]"
/Zephyr-Core-3.7.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.7.0/include/zephyr/posix/
Dpthread.h512 int pthread_spin_destroy(pthread_spinlock_t *lock);
519 int pthread_spin_init(pthread_spinlock_t *lock, int pshared);
526 int pthread_spin_lock(pthread_spinlock_t *lock);
533 int pthread_spin_trylock(pthread_spinlock_t *lock);
540 int pthread_spin_unlock(pthread_spinlock_t *lock);
Dposix_types.h96 typedef uint32_t pthread_spinlock_t; typedef