unistd/sched_sporadic: correct the disable value
Reference here: https://github.com/openbsd/src/blob/master/include/unistd.h Change-Id: Ifb08a69c9a2a2b68179bcfd716fb180ec3577e54 Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
182507f325
commit
8604e98196
@ -89,8 +89,8 @@
|
|||||||
# define _POSIX_SPORADIC_SERVER 1
|
# define _POSIX_SPORADIC_SERVER 1
|
||||||
# define _POSIX_THREAD_SPORADIC_SERVER 1
|
# define _POSIX_THREAD_SPORADIC_SERVER 1
|
||||||
#else
|
#else
|
||||||
# undef _POSIX_SPORADIC_SERVER
|
# define _POSIX_SPORADIC_SERVER -1
|
||||||
# undef _POSIX_THREAD_SPORADIC_SERVER
|
# define _POSIX_THREAD_SPORADIC_SERVER -1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Execution time constants (not supported) */
|
/* Execution time constants (not supported) */
|
||||||
|
Loading…
Reference in New Issue
Block a user