thread::Thread::Attributes
- Inherits: api::ExecutionContext
public
Friends
Thread#
friend class Thread Type: class
Parameters:
Functions
Attributes()#
thread::Thread::Attributes::Attributes ()~Attributes()#
thread::Thread::Attributes::~Attributes ()get_detach_state() const#
DetachState thread::Thread::Attributes::get_detach_state () constType: DetachState
get_inherit_sched() const#
IsInherit thread::Thread::Attributes::get_inherit_sched () constType: IsInherit
get_sched_policy() const#
Sched::Policy thread::Thread::Attributes::get_sched_policy () constType: Sched::Policy
get_sched_priority() const#
int thread::Thread::Attributes::get_sched_priority () constType: int
get_scope() const#
ContentionScope thread::Thread::Attributes::get_scope () constType: ContentionScope
get_stack_size() const#
int thread::Thread::Attributes::get_stack_size () constType: int
set_detach_state(DetachState value)#
Attributes & thread::Thread::Attributes::set_detach_state (DetachState value)Type: Attributes &
Parameters:
- DetachState
value
set_detached()#
inline
Attributes & thread::Thread::Attributes::set_detached ()Type: Attributes &
set_inherit_sched(IsInherit value)#
Attributes & thread::Thread::Attributes::set_inherit_sched (IsInherit value)Type: Attributes &
Parameters:
- IsInherit
value
set_joinable()#
inline
Attributes & thread::Thread::Attributes::set_joinable ()Type: Attributes &
set_sched_policy(Sched::Policy value)#
Attributes & thread::Thread::Attributes::set_sched_policy (Sched::Policy value)Type: Attributes &
Parameters:
- Sched::Policy
value
set_sched_priority(int priority)#
Attributes & thread::Thread::Attributes::set_sched_priority (int priority)Type: Attributes &
Parameters:
intpriority
set_scope(ContentionScope value)#
Attributes & thread::Thread::Attributes::set_scope (ContentionScope value)Type: Attributes &
Parameters:
- ContentionScope
value
set_stack_size(size_t value)#
Attributes & thread::Thread::Attributes::set_stack_size (size_t value)Type: Attributes &
Parameters:
size_tvalue