NUMA++ 0.11.0
Loading...
Searching...
No Matches
numapp::IdleScheduler Class Reference

Represents SCHED_IDLE scheduler policy. More...

#include <numapp/scheduler.hpp>

Public Member Functions

std::error_code Apply () const noexcept
 Apply policy to calling thread.
 

Related Symbols

(Note that these are not member symbols.)

std::ostream & operator<< (std::ostream &os, IdleScheduler const &scheduler)
 Formats scheduler and inserts it to os.
 
Apply Scheduler to Specified Thread

Applies scheduler to specified thread.

std::error_code Apply (pid_t thread, IdleScheduler const &scheduler) noexcept
 Apply idle scheduler to specified thread.
 
Apply Scheduler to Current Thread

Applies specified scheduler to current thread.

std::error_code Apply (IdleScheduler const &scheduler) noexcept
 Apply idle scheduler to this thread.
 

Detailed Description

Represents SCHED_IDLE scheduler policy.

It does not use either dynamic or static priority and is only scheduled to execute if no other task is ready to run.

Related man-page(s):

Definition at line 167 of file scheduler.hpp.

Friends And Related Symbol Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
IdleScheduler const & scheduler )
related

Formats scheduler and inserts it to os.

Parameters
osoutput stream to insert into.
schedulerIdleScheduler to format.
Returns
os

The documentation for this class was generated from the following file: