Skip to main content

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 () const

Type: DetachState

get_inherit_sched() const#

IsInherit thread::Thread::Attributes::get_inherit_sched () const

Type: IsInherit

get_sched_policy() const#

Sched::Policy thread::Thread::Attributes::get_sched_policy () const

Type: Sched::Policy

get_sched_priority() const#

int thread::Thread::Attributes::get_sched_priority () const

Type: int

get_scope() const#

ContentionScope thread::Thread::Attributes::get_scope () const

Type: ContentionScope

get_stack_size() const#

int thread::Thread::Attributes::get_stack_size () const

Type: int

set_detach_state(DetachState value)#

Attributes & thread::Thread::Attributes::set_detach_state (DetachState value)

Type: Attributes &

Parameters:

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:

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:

set_sched_priority(int priority)#

Attributes & thread::Thread::Attributes::set_sched_priority (int priority)

Type: Attributes &

Parameters:

  • int priority

set_scope(ContentionScope value)#

Attributes & thread::Thread::Attributes::set_scope (ContentionScope value)

Type: Attributes &

Parameters:

set_stack_size(size_t value)#

Attributes & thread::Thread::Attributes::set_stack_size (size_t value)

Type: Attributes &

Parameters:

  • size_t value