Define _POSIX_PRIORITY_SCHEDULING as 0.
sched_*(2) syscalls might be not available at runtime. Defining this constant as zero directs POSIX-compliant code to call sysconf(3) to detect the feature at runtime, and forces libc sysconf(3) to ask kernel. Noted by: ngie Reviewed by: jilles, ngie Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D9055
This commit is contained in:
parent
6a09b20655
commit
c9eddd660c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=311646
@ -65,7 +65,7 @@
|
||||
#define _POSIX_MONOTONIC_CLOCK 200112L
|
||||
#define _POSIX_NO_TRUNC 1
|
||||
#define _POSIX_PRIORITIZED_IO (-1)
|
||||
#define _POSIX_PRIORITY_SCHEDULING 200112L
|
||||
#define _POSIX_PRIORITY_SCHEDULING 0
|
||||
#define _POSIX_RAW_SOCKETS 200112L
|
||||
#define _POSIX_REALTIME_SIGNALS 200112L
|
||||
#define _POSIX_SEMAPHORES 200112L
|
||||
|
Loading…
Reference in New Issue
Block a user