Object implementing an ok()
method that can interrupt pending sleeps when it returns false.
More...
Go to the source code of this file.
Classes | |
struct | cras::InterruptibleSleepInterface |
Interface to an object whose sleep() calls can be interrupted externally. Multiple sleep() calls can be happening at a time. The object waits for the last sleep() call to finish on destruction. No more sleep() calls can be made once destruction of the object started (sleep() will return false in such case). Make sure that ok() returns false when this object is about to be destroyed. More... | |
Namespaces | |
cras | |
Object implementing an ok()
method that can interrupt pending sleeps when it returns false.
Definition in file interruptible_sleep_interface.h.