summaryrefslogtreecommitdiffstats
path: root/c/src/exec/itron
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-12 21:16:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-12 21:16:45 +0000
commit0c5ab522070e7847b77fe6eef7f6f814669dad9a (patch)
tree3dc7d9bc6949fa318d4464f3200c4125d9d44c72 /c/src/exec/itron
parent+ Moved error checks to before the dispatch disable where possible. (diff)
downloadrtems-0c5ab522070e7847b77fe6eef7f6f814669dad9a.tar.bz2
Added comment about the E_CTX error condition (Implementation dependent).
Diffstat (limited to 'c/src/exec/itron')
-rw-r--r--c/src/exec/itron/src/ext_tsk.c7
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 );