Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [hurd,commited] hurd: Implement basic sched_get/setscheduler

0 views
Skip to first unread message

Samuel Thibault

unread,
Aug 6, 2020, 2:16:10 PM8/6/20
to bug-...@gnu.org, commi...@gnu.org, libc-...@sourceware.org
Joseph Myers, le jeu. 06 août 2020 18:01:44 +0000, a ecrit:
> On Wed, 5 Aug 2020, Samuel Thibault wrote:
>
> > +/* Retrieve scheduling algorithm for a particular purpose. */
> > +int
> > +__sched_getscheduler (pid_t pid)
> > +{
> > + return SCHED_OTHER;
> > +}
> > +weak_alias (__sched_getscheduler, sched_getscheduler)
>
> I'm seeing build failures:
>
> ../sysdeps/mach/hurd/sched_gets.c:30:35: error: 'sched_getscheduler' aliased to undefined symbol '__sched_getscheduler'
>
> Missing libc_hidden_def, since there is libc_hidden_proto
> (__sched_getscheduler) in include/sched.h?

Oh, sorry, there was indeed a difference there between my previous test
build tree and the current master. Pushed the fix.

Thanks,
Samuel

0 new messages