From 6481405e5c6feb265efbea9549f7a1107f08de08 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 24 May 1996 14:16:24 +0000 Subject: added use of sporadic server scheduling parameters --- testsuites/psxtests/psxhdrs/pthread17.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'testsuites/psxtests/psxhdrs/pthread17.c') diff --git a/testsuites/psxtests/psxhdrs/pthread17.c b/testsuites/psxtests/psxhdrs/pthread17.c index 88f1c95e0c..0e7f4ed6ee 100644 --- a/testsuites/psxtests/psxhdrs/pthread17.c +++ b/testsuites/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 ); } -- cgit v1.2.3