14 #ifndef CONDITIONVARSPINLOCKIMPL_H
15 #define CONDITIONVARSPINLOCKIMPL_H
26 class MutexSpinlockImpl;
34 class EXPCL_PANDA_PIPELINE ConditionVarSpinlockImpl {
36 INLINE ConditionVarSpinlockImpl(MutexSpinlockImpl &mutex);
37 INLINE ~ConditionVarSpinlockImpl();
40 void wait(
double timeout);
42 INLINE
void notify_all();
45 MutexSpinlockImpl &_mutex;
46 TVOLATILE AtomicAdjust::Integer _event;
51 #endif // MUTEX_SPINLOCK