summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/pthread17.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 /c/src/tests/psxtests/psxhdrs/pthread17.c
parentnew files (diff)
downloadrtems-6481405e5c6feb265efbea9549f7a1107f08de08.tar.bz2
added use of sporadic server scheduling parameters
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/pthread17.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/pthread17.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/pthread17.c b/c/src/tests/psxtests/psxhdrs/pthread17.c
index 88f1c95e0c..0e7f4ed6ee 100644
--- a/c/src/tests/psxtests/psxhdrs/pthread17.c
+++ b/c/src/tests/psxtests/psxhdrs/pthread17.c
@@ -28,6 +28,9 @@ void test( void )
policy = SCHED_FIFO;
policy = SCHED_RR;
policy = SCHED_OTHER;
+#ifdef _POSIX_SPORADIC_SERVER
+ policy = SCHED_SPORADIC;
+#endif
result = pthread_attr_setschedpolicy( &attr, policy );
}