diff options
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 ); |