Subject: sched.h is broken?
To: None <current-users@NetBSD.org>
From: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
List: current-users
Date: 12/13/2004 23:08:38
Hello,

Is revision 1.5 of src/include/sched.h broken?  Because
`int sched_yield()' is replaced with `void __libc_thr_yield()', the
program that uses a return value of sched_yield() can't be compiled.

int     sched_yield(void);
void    __libc_thr_yield(void);

#ifndef __LIBPTHREAD_SOURCE__
#define sched_yield             __libc_thr_yield
#endif /* __LIBPTHREAD_SOURCE__ */

best regards.
-- 
 Kouichirou Hiratsuka
   hira@po6.nsk.ne.jp