diff options
Diffstat (limited to 'testsuites/psxtests/psx11/init.c')
-rw-r--r-- | testsuites/psxtests/psx11/init.c | 2 |
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; |