summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tx-support.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/validation/tx-support.c')
-rw-r--r--testsuites/validation/tx-support.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/validation/tx-support.c b/testsuites/validation/tx-support.c
index b09d3cc3cd..f576373eb1 100644
--- a/testsuites/validation/tx-support.c
+++ b/testsuites/validation/tx-support.c
@@ -557,6 +557,11 @@ void RestoreRunnerPriority( void )
SetSelfPriority( 1 );
}
+void RestoreRunnerScheduler( void )
+{
+ SetSelfScheduler( SCHEDULER_A_ID, 1 );
+}
+
Thread_Control *GetThread( rtems_id id )
{
Thread_Control *the_thread;