|
Public Member Functions |
void | set_inherit_sched (int i) |
int | get_inherit_sched () const |
void | set_sched_param (const sched_param &sp) |
sched_param | get_sched_param () const |
void | set_sched_policy (int p) |
int | get_sched_policy () const |
void | set_scope (int p) |
int | get_scope () const |
Friends |
class | thread |
This wraps pthread_attr_t. To use this class, create an instance and then invoke the set_* methods to set the desired attributes. Pass the final attributes structure to thread::thread.