Apache Mesos
|
#include <sched.h>
#include <linux/sched.h>
#include <sys/types.h>
#include <stout/error.hpp>
#include <stout/none.hpp>
#include <stout/nothing.hpp>
#include <stout/option.hpp>
#include <stout/try.hpp>
Go to the source code of this file.
Namespaces | |
sched | |
sched::policy | |
Enumerations | |
enum | sched::Policy { sched::OTHER = SCHED_OTHER, sched::BATCH = SCHED_BATCH, sched::IDLE = SCHED_IDLE, sched::FIFO = SCHED_FIFO, sched::RR = SCHED_RR } |
Functions | |
Try< Policy > | sched::policy::get (const Option< pid_t > &pid=None()) |
Try< Nothing > | sched::policy::set (Policy policy, const Option< pid_t > &pid=None(), int priority=0) |