Searched refs:atomic_uint (Results 1 – 5 of 5) sorted by relevance
89 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) { in SEM_TO_ATOMIC_POINTER()90 static_assert(sizeof(atomic_uint) == sizeof(sem->count), in SEM_TO_ATOMIC_POINTER()95 return reinterpret_cast<atomic_uint*>(&sem->count); in SEM_TO_ATOMIC_POINTER()99 static inline unsigned int SEM_GET_SHARED(atomic_uint* sem_count_ptr) { in SEM_GET_SHARED()116 atomic_uint* sem_count_ptr = SEM_TO_ATOMIC_POINTER(sem); in sem_init()144 static int __sem_dec(atomic_uint* sem_count_ptr) { in __sem_dec()164 static int __sem_trydec(atomic_uint* sem_count_ptr) { in __sem_trydec()188 static int __sem_inc(atomic_uint* sem_count_ptr) { in __sem_inc()216 atomic_uint* sem_count_ptr = SEM_TO_ATOMIC_POINTER(sem); in sem_wait()235 atomic_uint* sem_count_ptr = SEM_TO_ATOMIC_POINTER(sem); in sem_timedwait()[all …]
74 atomic_uint wait_count;
108 atomic_uint state;
170 std::atomic_uint cur_index_;
101 using std::atomic_uint;325 typedef _Atomic(unsigned int) atomic_uint; typedef