#include <thread.h>
Definition at line 24 of file thread.h.
§ Thread() [1/3]
shaka::Thread::Thread |
( |
const std::string & |
name, |
|
|
std::function< void()> |
callback |
|
) |
| |
§ Thread() [2/3]
shaka::Thread::Thread |
( |
const Thread & |
| ) |
|
|
delete |
§ Thread() [3/3]
shaka::Thread::Thread |
( |
Thread && |
| ) |
|
|
delete |
§ ~Thread()
shaka::Thread::~Thread |
( |
| ) |
|
§ get_id()
std::thread::id shaka::Thread::get_id |
( |
| ) |
const |
|
inline |
- Returns
- The unique thread ID of this thread.
Definition at line 42 of file thread.h.
§ join()
void shaka::Thread::join |
( |
| ) |
|
|
inline |
§ joinable()
bool shaka::Thread::joinable |
( |
| ) |
const |
|
inline |
- Returns
- Whether you can call join() on the thread.
Definition at line 37 of file thread.h.
§ name()
std::string shaka::Thread::name |
( |
| ) |
const |
|
inline |
- Returns
- The name of the thread.
Definition at line 32 of file thread.h.
The documentation for this class was generated from the following files: