RTEMS Logo

RTEMS 4.9.2 On-Line Library


Task Manager TASK_IS_SUSPENDED - Determine if a task is Suspended

PREV UP NEXT Bookshelf RTEMS C User's Guide

5.4.9: TASK_IS_SUSPENDED - Determine if a task is Suspended

CALLING SEQUENCE:

rtems_status_code rtems_task_is_suspended(
  rtems_id id
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - task is NOT suspended
RTEMS_ALREADY_SUSPENDED - task is currently 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 C User's Guide

Copyright © 1988-2008 OAR Corporation