This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] manual: Document lack of conformance of sched_* functions [BZ #14829]
- From: Florian Weimer <fweimer at redhat dot com>
- To: Carlos O'Donell <carlos at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 09 Jan 2019 13:30:55 +0100
- Subject: Re: [PATCH] manual: Document lack of conformance of sched_* functions [BZ #14829]
- References: <87sgz9fq53.fsf@oldenburg2.str.redhat.com> <74c5309f-ca7a-ae8b-5704-86329525cfde@redhat.com> <87o99ng6kg.fsf@oldenburg2.str.redhat.com> <7f731750-e25e-4399-624a-8db03cf2c179@redhat.com> <87efajg4c3.fsf@oldenburg2.str.redhat.com>
* Florian Weimer:
> * Carlos O'Donell:
>
>> My preference is to add a trailing "(See bug 14829)", since finding that
>> bug helps readers see what's going on.
>
> Sure. Please see the patch below.
>
> Thanks,
> Florian
>
> -----
> On Linux, we define _POSIX_PRIORITY_SCHEDULING, but functions such
> as sched_setparam and sched_setscheduler apply to individual threads,
> not processes.
>
> 2018-12-14 Florian Weimer <fweimer@redhat.com>
>
> [BZ #14829]
> * manual/resource.texi (Basic Scheduling Functions): Add
> portability note. Change process to task throughout the section.
> Remove incorrect comment about sched_yield as it affects
> tasks/threads, not entire processes.
> * sysdeps/unix/sysv/linux/bits/posix_opt.h
> (_POSIX_PRIORITY_SCHEDULING): Update comment.
Ping? <https://sourceware.org/ml/libc-alpha/2018-12/msg00516.html>
Thanks,
Florian