diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-02-26 16:50:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-02-26 16:50:21 +0000 |
commit | 54a43fe433111830be9399b88f836099b5dbad8e (patch) | |
tree | 3ba7855038baf4ea359c85d7b82629f655ada821 /testsuites/tmtests/tm26/task1.c | |
parent | 2004-02-26 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-54a43fe433111830be9399b88f836099b5dbad8e.tar.bz2 |
2004-02-26 Joel Sherrill <joel@OARcorp.com>
PR 583/tests
* tm26/task1.c, tm27/task1.c: Correctly reset
_Thread_Dispatch_disable_level so printing is safe.
Diffstat (limited to 'testsuites/tmtests/tm26/task1.c')
-rw-r--r-- | testsuites/tmtests/tm26/task1.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/tmtests/tm26/task1.c b/testsuites/tmtests/tm26/task1.c index 6db80632f8..299fa67ddc 100644 --- a/testsuites/tmtests/tm26/task1.c +++ b/testsuites/tmtests/tm26/task1.c @@ -418,6 +418,15 @@ void complete_test( void ) thread_get_invalid_time = Read_timer(); /* + * This is the running task and we have tricked RTEMS out enough where + * we need to set some internal tracking information to match this. + */ + + _Thread_Heir = _Thread_Executing; + _Context_Switch_necessary = FALSE; + _Thread_Dispatch_disable_level = 0; + + /* * Now dump all the times */ |