Subject: Re: COMPAT_LINUX32/sched_yield()
To: None <port-amd64@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: port-amd64
Date: 03/09/2007 21:02:55
In article <20070309164728.GK6876@gumme.math.uni-bonn.de>,
Edgar Fuß  <ef@math.uni-bonn.de> wrote:
>Hm, is this all we need to implement sched_yield() in linux32?
>
>--- syscalls.master.orig        2006-09-13 21:55:49.000000000 +0200
>+++ syscalls.master     2007-03-09 16:48:07.000000000 +0100
>@@ -264,7 +265,7 @@
> 156	STD	{ int linux32_sys_sched_setscheduler(pid_t pid, \
>		    int policy, const linux32_sched_paramp_t sp); }
> 157	NOARGS	{ int linux_sys_sched_getscheduler(pid_t pid); }
>-158	UNIMPL	sched_yield
>+158	STD	{ int linux_sys_sched_yield(void); }
> 159	UNIMPL	sched_get_priority_max
> 160	UNIMPL	sched_get_priority_min
> 161	UNIMPL	sched_rr_get_interval
>

Looks like it :-)

christos