RAII pthread attribute wrapper.
More...
#include <pthread_wrapper.hpp>
RAII pthread attribute wrapper.
Definition at line 276 of file pthread_wrapper.hpp.
◆ PThreadAttributes() [1/2]
threadschedule::PThreadAttributes::PThreadAttributes |
( |
| ) |
|
|
inline |
◆ ~PThreadAttributes()
threadschedule::PThreadAttributes::~PThreadAttributes |
( |
| ) |
|
|
inline |
◆ PThreadAttributes() [2/2]
◆ get() [1/2]
auto threadschedule::PThreadAttributes::get |
( |
| ) |
-> pthread_attr_t&
|
|
inline |
◆ get() [2/2]
auto threadschedule::PThreadAttributes::get |
( |
| ) |
const -> pthread_attr_t const&
|
|
inlinenodiscard |
◆ get_detach_state()
auto threadschedule::PThreadAttributes::get_detach_state |
( |
| ) |
const -> std::optional<bool>
|
|
inlinenodiscard |
◆ get_guard_size()
auto threadschedule::PThreadAttributes::get_guard_size |
( |
| ) |
const -> std::optional<size_t>
|
|
inlinenodiscard |
◆ get_stack_size()
auto threadschedule::PThreadAttributes::get_stack_size |
( |
| ) |
const -> std::optional<size_t>
|
|
inlinenodiscard |
◆ operator=()
◆ set_detach_state()
auto threadschedule::PThreadAttributes::set_detach_state |
( |
bool | detached | ) |
-> bool
|
|
inline |
◆ set_guard_size()
auto threadschedule::PThreadAttributes::set_guard_size |
( |
size_t | guard_size | ) |
-> bool
|
|
inline |
◆ set_inherit_sched()
auto threadschedule::PThreadAttributes::set_inherit_sched |
( |
bool | inherit | ) |
-> bool
|
|
inline |
◆ set_scheduling_parameter()
auto threadschedule::PThreadAttributes::set_scheduling_parameter |
( |
ThreadPriority | priority | ) |
-> bool
|
|
inline |
◆ set_scheduling_policy()
auto threadschedule::PThreadAttributes::set_scheduling_policy |
( |
SchedulingPolicy | policy | ) |
-> bool
|
|
inline |
◆ set_scope()
auto threadschedule::PThreadAttributes::set_scope |
( |
bool | system_scope | ) |
-> bool
|
|
inline |
◆ set_stack_size()
auto threadschedule::PThreadAttributes::set_stack_size |
( |
size_t | stack_size | ) |
-> bool
|
|
inline |
The documentation for this class was generated from the following file: