
- sys_schedule can change only selected values, -1 means that the current value should be kept unchanged. For instance we mostly want to change the scheduling quantum and priority but we want to keep the process at the current cpu - RS can hand off its processes to scheduler - service can read the destination cpu from system.conf - RS can pass the information farther
15 lines
496 B
C
15 lines
496 B
C
#ifndef _MINIX_SCHED_H
|
|
#define _MINIX_SCHED_H
|
|
|
|
#include <minix/ipc.h>
|
|
|
|
_PROTOTYPE(int sched_stop, (endpoint_t scheduler_e, endpoint_t schedulee_e));
|
|
_PROTOTYPE(int sched_start, (endpoint_t scheduler_e, endpoint_t schedulee_e,
|
|
endpoint_t parent_e, int maxprio, int quantum, int cpu,
|
|
endpoint_t *newscheduler_e));
|
|
_PROTOTYPE(int sched_inherit, (endpoint_t scheduler_e,
|
|
endpoint_t schedulee_e, endpoint_t parent_e, unsigned maxprio,
|
|
endpoint_t *newscheduler_e));
|
|
|
|
#endif /* _MINIX_SCHED_H */
|