Identifier of an execution.
More...
#include <StormByte/safe/thread.hxx>
|
| | Id () noexcept |
| | Not an execution.
|
| bool | operator== (const Id &other) const noexcept |
| | Compare two identifiers.
|
| bool | operator!= (const Id &other) const noexcept |
| | Compare two identifiers.
|
| bool | operator< (const Id &other) const noexcept |
| | Order two identifiers.
|
| bool | operator<= (const Id &other) const noexcept |
| | Order two identifiers.
|
| bool | operator> (const Id &other) const noexcept |
| | Order two identifiers.
|
| bool | operator>= (const Id &other) const noexcept |
| | Order two identifiers.
|
| std::uint64_t | Value () const noexcept |
| | Value used by a hash.
|
Identifier of an execution.
Zero is not an execution.
◆ Id()
| StormByte::Safe::Thread::Id::Id |
( |
| ) |
|
|
inlinenoexcept |
◆ operator!=()
| bool StormByte::Safe::Thread::Id::operator!= |
( |
const Id & | other | ) |
const |
|
inlinenoexcept |
Compare two identifiers.
- Parameters
-
- Returns
- Whether they name different executions.
◆ operator<()
| bool StormByte::Safe::Thread::Id::operator< |
( |
const Id & | other | ) |
const |
|
inlinenoexcept |
Order two identifiers.
- Parameters
-
- Returns
- Whether this identifier is less.
◆ operator<=()
| bool StormByte::Safe::Thread::Id::operator<= |
( |
const Id & | other | ) |
const |
|
inlinenoexcept |
Order two identifiers.
- Parameters
-
- Returns
- Whether this identifier is less or equal.
◆ operator==()
| bool StormByte::Safe::Thread::Id::operator== |
( |
const Id & | other | ) |
const |
|
inlinenoexcept |
Compare two identifiers.
- Parameters
-
- Returns
- Whether they name the same execution.
◆ operator>()
| bool StormByte::Safe::Thread::Id::operator> |
( |
const Id & | other | ) |
const |
|
inlinenoexcept |
Order two identifiers.
- Parameters
-
- Returns
- Whether this identifier is greater.
◆ operator>=()
| bool StormByte::Safe::Thread::Id::operator>= |
( |
const Id & | other | ) |
const |
|
inlinenoexcept |
Order two identifiers.
- Parameters
-
- Returns
- Whether this identifier is greater or equal.
◆ Value()
| std::uint64_t StormByte::Safe::Thread::Id::Value |
( |
| ) |
const |
|
inlinenoexcept |
Value used by a hash.
- Returns
- Raw identifier. Zero is not an execution.
◆ Thread
The documentation for this class was generated from the following file: