Added comment about the E_CTX error condition (Implementation dependent).

This commit is contained in:
Joel Sherrill
1999-11-12 21:16:45 +00:00
parent c257429f61
commit 0c5ab52207
2 changed files with 14 additions and 0 deletions

View File

@@ -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 );

View File

@@ -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 );