[uClibc]sched_setscheduler & friends

Erik Andersen andersen at codepoet.org
Wed Jan 2 23:38:52 UTC 2002


On Wed Jan 02, 2002 at 07:06:48PM +0100, Robert Schwebel wrote:
> Hi,
> 
> unfortunately, uClibc does currently not support the sched_setscheduler
> syscalls & friends, which I need for some of the userspace programs in
> RTAI. I've tried to find out how glibc handles that stuff, but there's too
> much magic for me...
> 
> __sched_setscheduler() (which is weak_aliased to sched_setscheduler) is
> defined in sysdeps/generic/sched_sets.c (glibc-2.2.4), but the code looks
> like just being a dummy:

The stuff under sysdeps/generic in glibc is all a pile of stubs.
The real stuff is elsewhere...  In this case, its just a syscall
which glibc defines in sysdeps/unix/sysv/linux/syscalls.list and
uses a script to expand.

> If anyone can enlighten the darkness I would be happy...

Happiness can be elusive.  In this case, we just need to add those
syscalls into uClibc/libc/sysdeps/linux/common/syscalls.c

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list