forked from Imagelibrary/rtems
Added comment about the E_CTX error condition (Implementation dependent).
This commit is contained in:
@@ -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 );
|
||||
|
||||
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user