summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm26/task1.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-04 13:02:18 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-06 09:43:59 +0100
commit825cb1f1963df792957c552251df9f69453b8014 (patch)
tree5ac582e61bde01ee2041e63634f53508da78095d /testsuites/tmtests/tm26/task1.c
parenttmtests/tm26: Fix deadlock for SMP configurations (diff)
downloadrtems-825cb1f1963df792957c552251df9f69453b8014.tar.bz2
score: Delete _Thread_Dispatch_set_disable_level()
This function was only used in some tests and can be replaced with other functions.
Diffstat (limited to 'testsuites/tmtests/tm26/task1.c')
-rw-r--r--testsuites/tmtests/tm26/task1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c
index 416e5f7ef7..37761a498e 100644
--- a/testsuites/tmtests/tm26/task1.c
+++ b/testsuites/tmtests/tm26/task1.c
@@ -584,7 +584,9 @@ void complete_test( void )
set_thread_heir( _Thread_Get_executing() );
set_thread_dispatch_necessary( false );
- _Thread_Dispatch_set_disable_level( 0 );
+ for (index = 0; index < 2 * OPERATION_COUNT; ++index) {
+ _Thread_Unnest_dispatch();
+ }
/*
* Now dump all the times