|
libcosmos
Linux C++ System Programming Library
|
POSIX thread IDs for comparison of different threads objects. More...
#include <pthread.hxx>
Public Member Functions | |
| ID (pthread_t id) | |
| bool | operator== (const ID &other) const |
| Compares two thread IDs for equality. | |
| bool | operator!= (const ID &other) const |
| auto | raw () const |
Protected Attributes | |
| pthread_t | m_id |
POSIX thread IDs for comparison of different threads objects.
Definition at line 22 of file pthread.hxx.
|
inlineexplicit |
Definition at line 25 of file pthread.hxx.
|
inline |
Definition at line 29 of file pthread.hxx.
| bool cosmos::pthread::ID::operator== | ( | const ID & | other | ) | const |
Compares two thread IDs for equality.
Definition at line 9 of file pthread.cxx.
|
inline |
Definition at line 33 of file pthread.hxx.
|
protected |
Definition at line 37 of file pthread.hxx.