RTEMS Logo

RTEMS 4.6.2 On-Line Library


Task Manager TASK_IS_SUSPENDED - Determine if a task is Suspended

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

5.4.8: TASK_IS_SUSPENDED - Determine if a task is Suspended

CALLING SEQUENCE:

procedure Task_Is_Suspended (
   ID     : in     RTEMS.ID;
   Result :    out RTEMS.Status_Codes
);

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - task is not suspended
RTEMS.ALREADY_SUSPENDED - task is not suspended
RTEMS.INVALID_ID - task id invalid
RTEMS.ILLEGAL_ON_REMOTE_OBJECT - not supported on remote tasks

DESCRIPTION:

This directive returns a status code indicating whether or not the specified task is currently suspended.

NOTES:

This operation is not currently supported on remote tasks.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2004 OAR Corporation