Shaka Player Embedded
|
#include <thread_event.h>
Public Member Functions | |
ThreadEventBase (const std::string &name) | |
~ThreadEventBase () override | |
std::thread::id | GetProvider () const override |
void | SetProvider (Thread *thread) |
![]() | |
Waitable (const std::string &name) | |
virtual | ~Waitable () |
std::string | name () const |
A non-templated base class of ThreadEvent. This exists to allow generic handling of waiting for events independent of the type of the data.
Definition at line 37 of file thread_event.h.
|
explicit |
Definition at line 21 of file thread_event.cc.
|
override |
Definition at line 24 of file thread_event.cc.
|
overridevirtual |
Implements shaka::Waitable.
Definition at line 26 of file thread_event.cc.
|
inline |
Sets which thread will be providing this event. This must be called exactly once.
Definition at line 49 of file thread_event.h.