diff options
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/itron/src/ext_tsk.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/exec/itron/src/ext_tsk.c b/c/src/exec/itron/src/ext_tsk.c index d3f13939f1..980be4fe9c 100644 --- a/c/src/exec/itron/src/ext_tsk.c +++ b/c/src/exec/itron/src/ext_tsk.c @@ -23,6 +23,13 @@ void ext_tsk( void ) { + /* + * Figure out what to do if this happens. + * We can not return regardless + if ( _ITRON_Is_in_non_task_state() ) + return E_CTX; + */ + _Thread_Disable_dispatch(); _Thread_Restart( _Thread_Executing, NULL, 0 ); |