DUNE: Uniform Navigational Environment
2019.02.1
|
Class to manage the default scheduling policy.
Public Types |
Static Public Member Functions | |
static void | set (Policy policy) |
static Policy | get (void) |
static unsigned | native (void) |
static unsigned | native (Policy policy) |
static void | yield (void) |
static unsigned | minimumPriority (void) |
static unsigned | maximumPriority (void) |
|
static |
Get default scheduling policy.
|
static |
Get the maximum priority value for current default scheduling policy.
References native().
Referenced by DUNE::Daemon::onResourceInitialization().
|
static |
Get the minimum priority value for current default scheduling policy.
References native().
Referenced by DUNE::Tasks::Manager::adjustPriorities().
|
static |
Get the native scheduling policy identifier.
Referenced by maximumPriority(), minimumPriority(), and DUNE::Concurrency::Thread::setPriorityImpl().
|
static |
Translate a DUNE scheduling policy to a native scheduling policy identifier.
policy | scheduling policy. |
References POLICY_FIFO, POLICY_OTHER, and POLICY_RR.
|
static |
Set default scheduling policy.
policy | scheduling policy. |
|
static |
Force the running thread to relinquish the processor until it becomes the head of its thread list.
Referenced by DUNE::Network::TCPSocket::writeFile().