diff options
Diffstat (limited to 'cpukit/itron/src/task.c')
-rw-r--r-- | cpukit/itron/src/task.c | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/cpukit/itron/src/task.c b/cpukit/itron/src/task.c index eba7450b94..3a832bead4 100644 --- a/cpukit/itron/src/task.c +++ b/cpukit/itron/src/task.c @@ -19,6 +19,7 @@ #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> #include <rtems/score/apiext.h> +#include <rtems/score/apimutex.h> #include <rtems/score/sysstate.h> #include <rtems/itron/task.h> @@ -84,29 +85,6 @@ void _ITRON_Task_Initialize_user_tasks( void ) (*_ITRON_Initialize_user_tasks_p)(); } -/*PAGE - * - * _ITRON_Delete_task - */ - -ER _ITRON_Delete_task( - Thread_Control *the_thread -) -{ - Objects_Information *the_information; - - the_information = _Objects_Get_information_id( the_thread->Object.id ); - if ( !the_information ) { - return E_OBJ; /* XXX - should never happen */ - } - - _Thread_Close( the_information, the_thread ); - - _ITRON_Task_Free( the_thread ); - - return E_OK; -} - /* * At this point in time, the ITRON API does not need any other * extensions. See the POSIX and RTEMS API extensions for |