diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 03:33:25 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 03:33:25 +0000 |
commit | b1274bd94c94520ed9402f85c949976d7008093e (patch) | |
tree | 6ed7755c34e5fcccbe06ff095017a4399de180ff /testsuites/sptests/sp36 | |
parent | Whitespace removal. (diff) | |
download | rtems-b1274bd94c94520ed9402f85c949976d7008093e.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'testsuites/sptests/sp36')
-rw-r--r-- | testsuites/sptests/sp36/strict_order_mut.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuites/sptests/sp36/strict_order_mut.c b/testsuites/sptests/sp36/strict_order_mut.c index 1dd5f1a6d8..7720837ba2 100644 --- a/testsuites/sptests/sp36/strict_order_mut.c +++ b/testsuites/sptests/sp36/strict_order_mut.c @@ -76,7 +76,7 @@ rtems_task Init(rtems_task_argument ignored) Mutex_name[2] = rtems_build_name( 'S','Y','N','C'); - + Task_name[0] = rtems_build_name( 'T','0',' ',' '); status = rtems_task_create( Task_name[0], @@ -89,7 +89,7 @@ rtems_task Init(rtems_task_argument ignored) directive_failed( status,"rtems_task_create of T0"); printf("Create T0,priority is 4\n"); - + status = rtems_task_start( Task_id[0],Task0, 0); directive_failed( status,"rtems_task_start of T0"); @@ -102,8 +102,8 @@ rtems_task Init(rtems_task_argument ignored) rtems_task Task0(rtems_task_argument ignored) { rtems_status_code status; - - + + status = rtems_semaphore_obtain( Mutex_id[0], RTEMS_WAIT, @@ -111,7 +111,7 @@ rtems_task Task0(rtems_task_argument ignored) printf("T0 rtems_semaphore_obtain - S0\n"); directive_failed( status,"rtems_semaphore_obtain of S0\n"); printf("The current priority of T0 is %d\n",Get_current_pri()); - + status = rtems_semaphore_obtain( Mutex_id[1], RTEMS_WAIT, @@ -131,7 +131,7 @@ rtems_task Task0(rtems_task_argument ignored) printf("T0 - rtems_semaphore_release - S1\n"); directive_failed( status,"rtems_semaphore_release of S1\n"); printf("The current priority of T0 is %d\n",Get_current_pri()); - + Task_name[1] = rtems_build_name( 'T','1',' ',' '); status = rtems_task_create( @@ -144,7 +144,7 @@ rtems_task Task0(rtems_task_argument ignored) ); directive_failed( status , "rtems_task_create of T1\n"); printf("Create S1,priority is 1\n"); - + status = rtems_task_start( Task_id[1],Task1, 0); directive_failed( status, "rtems_task_start of T1\n"); @@ -154,9 +154,9 @@ rtems_task Task0(rtems_task_argument ignored) status = rtems_semaphore_release(Mutex_id[0]); printf("T0 - rtems_semaphore_release - S0\n"); directive_failed( status, "rtems_semaphore_release of S0\n"); - + } - + rtems_task Task1(rtems_task_argument ignored) { @@ -194,10 +194,10 @@ rtems_task_priority Get_current_pri(void) printf("node:Id=%p,priority_before=%d," "holder_id=%d,holder's current priority=%d\n",node, ((CORE_mutex_order_list *)node)->priority_before,p_mutex->holder_id,p_mutex->holder->current_priority); - node = node->next; + node = node->next; } } else printf("the Chain is empty\n"); } -*/ +*/ |