Searched refs:atomic_uint (Results 1 – 3 of 3) sorted by relevance
88 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) { in SEM_TO_ATOMIC_POINTER()89 static_assert(sizeof(atomic_uint) == sizeof(sem->count), in SEM_TO_ATOMIC_POINTER()94 return reinterpret_cast<atomic_uint*>(&sem->count); in SEM_TO_ATOMIC_POINTER()98 static inline unsigned int SEM_GET_SHARED(atomic_uint* sem_count_ptr) { in SEM_GET_SHARED()115 atomic_uint* sem_count_ptr = SEM_TO_ATOMIC_POINTER(sem); in sem_init()143 static int __sem_dec(atomic_uint* sem_count_ptr) { in __sem_dec()163 static int __sem_trydec(atomic_uint* sem_count_ptr) { in __sem_trydec()187 static int __sem_inc(atomic_uint* sem_count_ptr) { in __sem_inc()215 atomic_uint* sem_count_ptr = SEM_TO_ATOMIC_POINTER(sem); in sem_wait()228 atomic_uint* sem_count_ptr = SEM_TO_ATOMIC_POINTER(sem); in sem_timedwait()[all …]
108 atomic_uint state;
110 using std::atomic_uint;361 typedef _Atomic(unsigned int) atomic_uint; typedef