diff options
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/psxtests/ChangeLog | 4 | ||||
-rw-r--r-- | testsuites/psxtests/psx05/init.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/testsuites/psxtests/ChangeLog b/testsuites/psxtests/ChangeLog index 5756e3eaae..c6f92a0ad9 100644 --- a/testsuites/psxtests/ChangeLog +++ b/testsuites/psxtests/ChangeLog @@ -1,5 +1,9 @@ 2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> + * psx05/init.c: Add parameter to call to sched_get_priority_max(). + +2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com> + * psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c: Run all tests successfully with maxixum number of priorities as 16 instead of 256. This was done by temporarily modifying the score diff --git a/testsuites/psxtests/psx05/init.c b/testsuites/psxtests/psx05/init.c index 5923abe5f2..7bc472b2ee 100644 --- a/testsuites/psxtests/psx05/init.c +++ b/testsuites/psxtests/psx05/init.c @@ -468,7 +468,7 @@ void *POSIX_Init( /* set priority of Task2 to highest priority */ - param.sched_priority = sched_get_priority_max(); + param.sched_priority = sched_get_priority_max( SCHED_FIFO ); puts( "Init: pthread_setschedparam - Setting Task2 priority to highest" ); status = pthread_setschedparam( Task2_id, SCHED_FIFO, ¶m ); |