Lunchbox
1.12.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 | |
LUNCHBOX_API | ThreadID () |
Construct a new, zero thread identifier. More... | |
LUNCHBOX_API | ThreadID (const ThreadID &from) |
Construct a copy of a thread identifier. More... | |
LUNCHBOX_API | ~ThreadID () |
Destruct this thread identifier. More... | |
LUNCHBOX_API ThreadID & | operator= (const ThreadID &from) |
Assign another thread identifier. More... | |
LUNCHBOX_API bool | operator== (const ThreadID &rhs) const |
LUNCHBOX_API bool | operator!= (const ThreadID &rhs) const |
Friends | |
class | Thread |
LUNCHBOX_API 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 35 of file threadID.h.
LUNCHBOX_API lunchbox::ThreadID::ThreadID | ( | ) |
Construct a new, zero thread identifier.
LUNCHBOX_API lunchbox::ThreadID::ThreadID | ( | const ThreadID & | from | ) |
Construct a copy of a thread identifier.
LUNCHBOX_API lunchbox::ThreadID::~ThreadID | ( | ) |
Destruct this thread identifier.
LUNCHBOX_API bool lunchbox::ThreadID::operator!= | ( | const ThreadID & | rhs | ) | const |
Assign another thread identifier.
LUNCHBOX_API bool lunchbox::ThreadID::operator== | ( | const ThreadID & | rhs | ) | const |
|
friend |
Print the thread to the given output stream.