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
@ -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…
x
Reference in New Issue
Block a user