Shaka Player Embedded
|
#include <waitable.h>
Public Member Functions | |
Waitable (const std::string &name) | |
virtual | ~Waitable () |
std::string | name () const |
virtual std::thread::id | GetProvider () const =0 |
The base class for objects that a thread can wait on. These represent resources that a thread needs to block for another thread to provide. This can be an explicit event (like a seek event) or it could be a lock that another thread needs to release.
Definition at line 31 of file waitable.h.
|
explicit |
Definition at line 21 of file waitable.cc.
|
virtual |
Definition at line 23 of file waitable.cc.
|
pure virtual |
Implemented in shaka::DebugMutex< _Mutex >, and shaka::ThreadEventBase.
|
inline |
Definition at line 37 of file waitable.h.