Lunchbox
1.8.0
|
An utility class to wrap OS-specific thread identifiers. More...
#include <threadID.h>
Public Member Functions | |
ThreadID () | |
Construct a new, zero thread identifier. | |
ThreadID (const ThreadID &from) | |
Construct a copy of a thread identifier. | |
~ThreadID () | |
Destruct this thread identifier. | |
ThreadID & | operator= (const ThreadID &from) |
Assign another thread identifier. | |
bool | operator== (const ThreadID &rhs) const |
bool | operator!= (const ThreadID &rhs) const |
Friends | |
class | Thread |
std::ostream & | operator<< (std::ostream &os, const ThreadID &) |
Print the thread to the given output stream. |
An utility class to wrap OS-specific thread identifiers.
Definition at line 31 of file threadID.h.
lunchbox::ThreadID::ThreadID | ( | ) |
Construct a new, zero thread identifier.
lunchbox::ThreadID::ThreadID | ( | const ThreadID & | from | ) |
Construct a copy of a thread identifier.
lunchbox::ThreadID::~ThreadID | ( | ) |
Destruct this thread identifier.
bool lunchbox::ThreadID::operator!= | ( | const ThreadID & | rhs | ) | const |
Assign another thread identifier.
bool lunchbox::ThreadID::operator== | ( | const ThreadID & | rhs | ) | const |
|
friend |
Print the thread to the given output stream.