Skip to main content

thread::Sched

Types

Policy#

  • round_robin
  • fifo
  • other

Functions

set_scheduler(const SetScheduler &options) const#

const Sched & thread::Sched::set_scheduler (const SetScheduler &options) const

Type: const Sched &

Parameters:

yield() const#

inline

const Sched & thread::Sched::yield () const

Type: const Sched &

Static Functions

get_pid()#

inline

static pid_t thread::Sched::get_pid ()

Type: pid_t

get_priority(pid_t pid)#

static int thread::Sched::get_priority (pid_t pid)

Type: int

Parameters:

  • pid_t pid

get_priority_max(Policy value)#

static int thread::Sched::get_priority_max (Policy value)

Type: int

Parameters:

get_priority_min(Policy value)#

static int thread::Sched::get_priority_min (Policy value)

Type: int

Parameters:

get_rr_interval(pid_t pid)#

static int thread::Sched::get_rr_interval (pid_t pid)

Type: int

Parameters:

  • pid_t pid