Provide wrappers for sched_{s|g}etscheduler. We need to convert the policy
argument. PR: 12006
This commit is contained in:
parent
e3eb5947f3
commit
e4accff654
@ -1,4 +1,4 @@
|
||||
$Id: syscalls.master,v 1.19 1999/08/14 17:14:13 marcel Exp $
|
||||
$Id: syscalls.master,v 1.20 1999/08/14 18:19:00 marcel Exp $
|
||||
|
||||
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
||||
; System call name/number master file (or rather, slave, from LINUX).
|
||||
@ -224,8 +224,9 @@
|
||||
154 NOPROTO POSIX { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
||||
155 NOPROTO POSIX { int sched_getparam (pid_t pid, struct sched_param *param); }
|
||||
|
||||
156 NOPROTO POSIX { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
||||
157 NOPROTO POSIX { int sched_getscheduler (pid_t pid); }
|
||||
156 STD POSIX { int linux_sched_setscheduler(pid_t pid, int policy, \
|
||||
const struct sched_param *param); }
|
||||
157 STD POSIX { int linux_sched_getscheduler(pid_t pid); }
|
||||
|
||||
158 NOPROTO POSIX { int sched_yield (void); }
|
||||
159 NOPROTO POSIX { int sched_get_priority_max (int policy); }
|
||||
|
@ -1,4 +1,4 @@
|
||||
$Id: syscalls.master,v 1.19 1999/08/14 17:14:13 marcel Exp $
|
||||
$Id: syscalls.master,v 1.20 1999/08/14 18:19:00 marcel Exp $
|
||||
|
||||
; @(#)syscalls.master 8.1 (Berkeley) 7/19/93
|
||||
; System call name/number master file (or rather, slave, from LINUX).
|
||||
@ -224,8 +224,9 @@
|
||||
154 NOPROTO POSIX { int sched_setparam (pid_t pid, const struct sched_param *param); }
|
||||
155 NOPROTO POSIX { int sched_getparam (pid_t pid, struct sched_param *param); }
|
||||
|
||||
156 NOPROTO POSIX { int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param); }
|
||||
157 NOPROTO POSIX { int sched_getscheduler (pid_t pid); }
|
||||
156 STD POSIX { int linux_sched_setscheduler(pid_t pid, int policy, \
|
||||
const struct sched_param *param); }
|
||||
157 STD POSIX { int linux_sched_getscheduler(pid_t pid); }
|
||||
|
||||
158 NOPROTO POSIX { int sched_yield (void); }
|
||||
159 NOPROTO POSIX { int sched_get_priority_max (int policy); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user