diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 13:48:27 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-10 13:48:27 +0000 |
commit | eb02f47b126b56091ffaeaad470a48e2ac6d57b5 (patch) | |
tree | d52c66ad2d1a1b60d4eecd873949aa07477f8b87 /c/src/exec/itron/include/rtems/itron/task.h | |
parent | Added support for ITRON tests. (diff) | |
download | rtems-eb02f47b126b56091ffaeaad470a48e2ac6d57b5.tar.bz2 |
Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group. Included are tests.
Diffstat (limited to 'c/src/exec/itron/include/rtems/itron/task.h')
-rw-r--r-- | c/src/exec/itron/include/rtems/itron/task.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/c/src/exec/itron/include/rtems/itron/task.h b/c/src/exec/itron/include/rtems/itron/task.h index fffcc16d82..5d52d632f5 100644 --- a/c/src/exec/itron/include/rtems/itron/task.h +++ b/c/src/exec/itron/include/rtems/itron/task.h @@ -77,7 +77,18 @@ ER _ITRON_Delete_task( Thread_Control *the_thread ); +/* XXX remove the need for this. Enable dispatch should not be hidden */ + +#define _ITRON_return_errorno( _errno ) \ +do { \ + _Thread_Enable_dispatch(); \ + return _errno; \ +} while (0); + + +#ifndef __RTEMS_APPLICATION__ #include <rtems/itron/task.inl> +#endif #ifdef __cplusplus } |