Download RTEMS C User's Guide
Transcript
46 RTEMS C User’s Guide 5.4.8 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.