4 #include <condition_variable>
32 std::condition_variable condition;
void signal()
Wake on thread that's waiting on this condtition variable.
void signalAll()
Wake all threads that are waiting on this condition variable.
Thanks to enen for testing this on a real cartridge:
void wait()
Block till another thread signals this condition variable.
bool waitTimeout(unsigned us)
Same as wait(), but with a timeout.