Lunchbox
1.14.0
Multi-threaded C++ toolbox library for all application developers creating high-performance multi-threaded programs.
|
An utility class to wrap OS-specific thread identifiers. More...
#include <threadID.h>
Public Member Functions | |
ThreadID () | |
Construct a new, zero thread identifier. More... | |
ThreadID (const ThreadID &from) | |
Construct a copy of a thread identifier. More... | |
~ThreadID () | |
Destruct this thread identifier. More... | |
ThreadID & | operator= (const ThreadID &from) |
Assign another thread identifier. More... | |
bool | operator== (const ThreadID &rhs) const |
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. More... | |
An utility class to wrap OS-specific thread identifiers.
Definition at line 32 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.