diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 823a3ab64f..9caa860cec 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,3 +1,7 @@ +2009-07-19 Joel Sherrill + + * psx11/init.c: Use explicit scheduler. + 2009-07-17 Joel Sherrill * Makefile.am, configure.ac: Add test to exercise 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;