2#ifndef POSIX_SCHEDULING_SYSCALLS_H
3#define POSIX_SCHEDULING_SYSCALLS_H
5int posix_sched_setparam(
int pid,
const void* parameter);
6int posix_sched_getparam(
int pid,
void* parameter);
7int posix_sched_setscheduler(
int pid,
int policy,
const void* parameter);
8int posix_sched_getscheduler(
int pid);
9int posix_sched_get_priority_max(
int policy);
10int posix_sched_get_priority_min(
int policy);
11int posix_sched_rr_get_interval(
int pid,
void* interval);
12int posix_sched_setaffinity(
int pid,
unsigned int length,
const void* mask);
13int posix_sched_getaffinity(
int pid,
unsigned int length,
void* mask);
14int posix_getcpu(
unsigned int* cpu,
unsigned int* node);