[PATCH] manual: Document lack of conformance of sched_* functions [BZ #14829]

Florian Weimer fweimer@redhat.com
Wed Jan 9 12:31:00 GMT 2019


* 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



More information about the Libc-alpha mailing list