7.1. Introduction#
The Task Manager provides a comprehensive set of directives to create, delete, and administer tasks. The directives provided by the Task Manager are:
rtems_task_create() - Creates a task.
rtems_task_construct() - Constructs a task from the specified task configuration.
rtems_task_ident() - Identifies a task by the object name.
rtems_task_self() - Gets the task identifier of the calling task.
rtems_task_start() - Starts the task.
rtems_task_restart() - Restarts the task.
rtems_task_delete() - Deletes the task.
rtems_task_exit() - Deletes the calling task.
rtems_task_suspend() - Suspends the task.
rtems_task_resume() - Resumes the task.
rtems_task_is_suspended() - Checks if the task is suspended.
rtems_task_set_priority() - Sets the real priority or gets the current priority of the task.
rtems_task_get_priority() - Gets the current priority of the task with respect to the scheduler.
rtems_task_mode() - Gets and optionally sets the mode of the calling task.
rtems_task_wake_after() - Wakes up after a count of clock ticks have occurred or yields the processor.
rtems_task_wake_when() - Wakes up when specified.
rtems_task_get_scheduler() - Gets the home scheduler of the task.
rtems_task_set_scheduler() - Sets the home scheduler for the task.
rtems_task_get_affinity() - Gets the processor affinity of the task.
rtems_task_set_affinity() - Sets the processor affinity of the task.
rtems_task_iterate() - Iterates over all tasks and invokes the visitor routine for each task.
RTEMS_TASK_STORAGE_SIZE() - Gets the recommended task storage area size for the size and task attributes.