Embedded Multicore Building Blocks V1.0.0
|
Unique ID of a thread that can be compared with other IDs. More...
#include <thread.h>
Public Member Functions | |
ID () | |
Constructs an empty (invalid) thread ID. More... | |
Friends | |
template<class CharT , class Traits > | |
std::basic_ostream< CharT, Traits > & | operator<< (std::basic_ostream< CharT, Traits > &os, Thread::ID id) |
The streaming operator needs to access the internal ID representation. More... | |
bool | operator== (Thread::ID lhs, Thread::ID rhs) |
Comparison operators need to access the internal ID representation. More... | |
bool | operator!= (Thread::ID lhs, Thread::ID rhs) |
Compares two thread IDs for inequality. More... | |
Unique ID of a thread that can be compared with other IDs.
embb::base::Thread::ID::ID | ( | ) |
Constructs an empty (invalid) thread ID.
|
friend |
The streaming operator needs to access the internal ID representation.
[in,out] | os | Stream to which thread ID is written |
[in] | id | Thread ID to be written |
|
friend |
Comparison operators need to access the internal ID representation.
true
if thread IDs are equivalent, otherwise false
[in] | lhs | Left-hand side of equality sign |
[in] | rhs | Right-hand side of equality sign |
|
friend |
Compares two thread IDs for inequality.
true
if thread IDs are not equivalent, otherwise false
[in] | lhs | Left-hand side of inequality sign |
[in] | rhs | Left-hand side of inequality sign |