diff options
Diffstat (limited to 'cpukit/rtems/include')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 0da7906fe1..af579f87b5 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -437,6 +437,14 @@ rtems_status_code rtems_task_variable_delete( ); /* + * rtems_task_self + * + * This directive returns the ID of the currently executing task. + */ + +rtems_id rtems_task_self(void); + +/* * _RTEMS_tasks_Initialize_user_tasks * * This routine creates and starts all configured user |