diff options
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/sched07.c')
-rw-r--r-- | c/src/tests/psxtests/psxhdrs/sched07.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/sched07.c b/c/src/tests/psxtests/psxhdrs/sched07.c index 58cb1aab9f..767cb30a86 100644 --- a/c/src/tests/psxtests/psxhdrs/sched07.c +++ b/c/src/tests/psxtests/psxhdrs/sched07.c @@ -27,6 +27,9 @@ void test( void ) policy = SCHED_RR; policy = SCHED_FIFO; policy = SCHED_OTHER; +#ifdef _POSIX_SPORADIC_SERVER + policy = SCHED_SPORADIC; +#endif result = sched_get_priority_min( policy ); } |