diff options
-rw-r--r-- | c/src/exec/rtems/include/rtems/rtems/tasks.h | 13 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/tasks.h | 13 |
2 files changed, 24 insertions, 2 deletions
diff --git a/c/src/exec/rtems/include/rtems/rtems/tasks.h b/c/src/exec/rtems/include/rtems/rtems/tasks.h index 82506a5409..f09f746a04 100644 --- a/c/src/exec/rtems/include/rtems/rtems/tasks.h +++ b/c/src/exec/rtems/include/rtems/rtems/tasks.h @@ -394,8 +394,19 @@ rtems_status_code rtems_task_wake_after( rtems_interval ticks ); -/*PAGE +/* + * rtems_task_is_suspended * + * This directive returns a status indicating whether or not + * the specified task is suspended. + */ + +rtems_status_code rtems_task_is_suspended( + Objects_Id id +); + + +/* * _RTEMS_tasks_Initialize_user_tasks * * This routine creates and starts all configured user diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h index 82506a5409..f09f746a04 100644 --- a/cpukit/rtems/include/rtems/rtems/tasks.h +++ b/cpukit/rtems/include/rtems/rtems/tasks.h @@ -394,8 +394,19 @@ rtems_status_code rtems_task_wake_after( rtems_interval ticks ); -/*PAGE +/* + * rtems_task_is_suspended * + * This directive returns a status indicating whether or not + * the specified task is suspended. + */ + +rtems_status_code rtems_task_is_suspended( + Objects_Id id +); + + +/* * _RTEMS_tasks_Initialize_user_tasks * * This routine creates and starts all configured user |