[kaffe] Re: solaris/sparc link failure

Riccardo zuse at libero.it
Sat Nov 6 17:45:00 PST 2004


In <418D0CA7.6090005 at kaffe.org> Guilhem Lavaux  wrote:
> Riccardo wrote:
>> Hey,
> 
> Hi Riccardo !
> 
> Does sched_yield is there ?
> 
> 
>         #include <sched.h>
> 
>         int sched_yield(void);
> 
> 
> If it is not I'll have to completely disable the code in jthread_yield() 
> (and I'll also check for pthread_yield in configure now).
> 
> 
> Thanks for the bug report ! :)
> 

On darwin6 it seems to exist:

[atrejus:~] multix% man sched_yield
No manual entry for sched_yield
[atrejus:~] multix% more /usr/include/sched.h | grep yield
extern int sched_yield(void);
[atrejus:~] multix% 

interesting there is no manpage though ! also grepping around I found no 
other reference to where this external symbol should be declared. I did 
not check on solaris, older darwin or netbsd or IRIX.

-R





More information about the kaffe mailing list