diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 13:48:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 13:48:27 +0000 |
commit | eb02f47b126b56091ffaeaad470a48e2ac6d57b5 (patch) | |
tree | d52c66ad2d1a1b60d4eecd873949aa07477f8b87 /c/src/exec/itron/src/exd_tsk.c | |
parent | Added support for ITRON tests. (diff) | |
download | rtems-eb02f47b126b56091ffaeaad470a48e2ac6d57b5.tar.bz2 |
Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group. Included are tests.
Diffstat (limited to 'c/src/exec/itron/src/exd_tsk.c')
-rw-r--r-- | c/src/exec/itron/src/exd_tsk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/exec/itron/src/exd_tsk.c b/c/src/exec/itron/src/exd_tsk.c index c2b86f3126..51c0eb04c5 100644 --- a/c/src/exec/itron/src/exd_tsk.c +++ b/c/src/exec/itron/src/exd_tsk.c @@ -25,13 +25,13 @@ void exd_tsk( void ) { Objects_Information *the_information; + _Thread_Disable_dispatch(); + the_information = _Objects_Get_information( _Thread_Executing->Object.id ); /* This should never happen if _Thread_Get() works right */ assert( the_information ); - _Thread_Disable_dispatch(); - _Thread_Set_state( _Thread_Executing, STATES_DORMANT ); _ITRON_Delete_task( _Thread_Executing ); |