carb::thread::futex::wake_one

Defined in carb/thread/Futex.h

template<class T>
inline void carb::thread::futex::wake_one(std::atomic<T> &val)

Wakes one thread that is waiting in one of the futex wait functions.

Parameters

val – The same value that was passed to wait(), wait_for() or wait_until().