From c45ca1037563711069d65a6e6705670ea2c51e71 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 19 Aug 2009 17:28:19 +0000 Subject: 2009-08-19 Joel Sherrill * psx09/init.c, psx09/psx09.scn: Correct test following decision of when not to change ssporadic scheduler so it does not touch a task's priority when it is holding a mutex or its priority would be impacted adversely. --- testsuites/psxtests/psx09/psx09.scn | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'testsuites/psxtests/psx09/psx09.scn') diff --git a/testsuites/psxtests/psx09/psx09.scn b/testsuites/psxtests/psx09/psx09.scn index adf62c5ee3..c3e6dadc71 100644 --- a/testsuites/psxtests/psx09/psx09.scn +++ b/testsuites/psxtests/psx09/psx09.scn @@ -3,20 +3,20 @@ Init's ID is 0x0b010001 Init: pthread_getschedparam - SUCCESSFUL Init: Fri May 24 11:05:00 1996 - current priority = 2 Init: pthread_setschedparam - SUCCESSFUL (sporadic server) -Init: Fri May 24 11:05:00 1996 - new priority = 200 -Init: Fri May 24 11:05:00 1996 - new priority = 100 -Init: Fri May 24 11:05:00 1996 - new priority = 200 -Init: Fri May 24 11:05:00 1996 - new priority = 100 -Init: Fri May 24 11:05:01 1996 - new priority = 200 +Init: Fri May 24 11:05:00 1996 - new priority = 254 +Init: Fri May 24 11:05:00 1996 - new priority = 252 +Init: Fri May 24 11:05:00 1996 - new priority = 254 +Init: Fri May 24 11:05:00 1996 - new priority = 252 +Init: Fri May 24 11:05:01 1996 - new priority = 254 + Init: pthread_setschedparam - SUCCESSFUL (sporadic server) Init: Initializing mutex attributes for priority ceiling Init: Creating a mutex -Init: Fri May 24 11:05:01 1996 - new priority = 150 -Init: Fri May 24 11:05:01 1996 - new priority = 100 +Init: Fri May 24 11:05:01 1996 - new priority = 254 Init: pthread_mutex_lock acquire the lock -Init: Fri May 24 11:05:01 1996 - new priority = 131 -Init: Fri May 24 11:05:01 1996 - new priority = 150 +Init: Fri May 24 11:05:01 1996 - new priority = 254 +Init: Fri May 24 11:05:01 1996 - new priority = 254 Init: unlock mutex -Init: Fri May 24 11:05:01 1996 - new priority = 150 -Init: Fri May 24 11:05:01 1996 - new priority = 100 +Init: Fri May 24 11:05:01 1996 - new priority = 254 +Init: Fri May 24 11:05:01 1996 - new priority = 250 *** END OF POSIX TEST 9 *** -- cgit v1.2.3