#include <thread_id.hpp>
|
| constexpr | thread_id (std::int64_t value) |
| | Construct and validate a thread id.
|
| |
|
| static auto | create (std::int64_t value) noexcept -> result< thread_id > |
| | Construct a thread id without exceptions.
|
| |
Definition at line 21 of file thread_id.hpp.
◆ thread_id()
| constexpr threadschedule::thread_id::thread_id |
( |
std::int64_t |
value | ) |
|
|
inlineexplicitconstexpr |
Construct and validate a thread id.
- Parameters
-
| value | Positive numeric thread id. |
- Exceptions
-
| std::invalid_argument | if value is not positive. |
Definition at line 29 of file thread_id.hpp.
◆ create()
| static auto threadschedule::thread_id::create |
( |
std::int64_t |
value | ) |
-> result<thread_id>
|
|
inlinestaticnoexcept |
Construct a thread id without exceptions.
- Parameters
-
| value | Positive numeric thread id. |
- Returns
- A valid thread_id or
errc::invalid_argument.
Definition at line 37 of file thread_id.hpp.
◆ detail::thread_id_access
◆ operator!=
◆ operator<
◆ operator==
The documentation for this class was generated from the following file: