summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psx11
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-20 01:05:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-07-20 01:05:59 +0000
commit3d36b370dd2b486df08d50c0b56f3d4dce41ca71 (patch)
tree4b1eec1185d0de83ed59ddd49e9a3ac7ab6d7ff2 /testsuites/psxtests/psx11
parent2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-3d36b370dd2b486df08d50c0b56f3d4dce41ca71.tar.bz2
2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx11/init.c: Use explicit scheduler.
Diffstat (limited to 'testsuites/psxtests/psx11')
-rw-r--r--testsuites/psxtests/psx11/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuites/psxtests/psx11/init.c b/testsuites/psxtests/psx11/init.c
index 254fe33801..a6d38aafe1 100644
--- a/testsuites/psxtests/psx11/init.c
+++ b/testsuites/psxtests/psx11/init.c
@@ -93,6 +93,8 @@ void *POSIX_Init(
status = pthread_attr_init( &attr );
assert( !status );
+ status = pthread_attr_setinheritsched( &attr, PTHREAD_EXPLICIT_SCHED );
+ assert( !status );
attr.schedpolicy = SCHED_RR;
attr.schedparam.sched_priority = priority_4;