summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxhdrs/sched06.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-24 14:16:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-24 14:16:24 +0000
commit6481405e5c6feb265efbea9549f7a1107f08de08 (patch)
treea1c6d812d5d21df209f380af2da8cb7eb60558cb /testsuites/psxtests/psxhdrs/sched06.c
parentnew files (diff)
downloadrtems-6481405e5c6feb265efbea9549f7a1107f08de08.tar.bz2
added use of sporadic server scheduling parameters
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched06.c')
-rw-r--r--testsuites/psxtests/psxhdrs/sched06.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched06.c
index 9a82d1d409..49eaa43f4d 100644
--- a/testsuites/psxtests/psxhdrs/sched06.c
+++ b/testsuites/psxtests/psxhdrs/sched06.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_max( policy );
}