56#ifndef _RTEMS_RTEMS_SEM_H
57#define _RTEMS_RTEMS_SEM_H
This header file provides Classic API directive attributes.
uint32_t rtems_attribute
This type represents Classic API attributes.
Definition: attr.h:96
uint32_t rtems_option
This type represents a Classic API directive option set.
Definition: options.h:126
rtems_status_code rtems_semaphore_flush(rtems_id id)
Flushes the semaphore.
Definition: semflush.c:44
rtems_status_code rtems_semaphore_create(rtems_name name, uint32_t count, rtems_attribute attribute_set, rtems_task_priority priority_ceiling, rtems_id *id)
Creates a semaphore.
Definition: semcreate.c:54
rtems_status_code rtems_semaphore_ident(rtems_name name, uint32_t node, rtems_id *id)
Identifies a semaphore by the object name.
Definition: semident.c:45
rtems_status_code rtems_semaphore_delete(rtems_id id)
Deletes the semaphore.
Definition: semdelete.c:45
rtems_status_code rtems_semaphore_set_priority(rtems_id semaphore_id, rtems_id scheduler_id, rtems_task_priority new_priority, rtems_task_priority *old_priority)
Sets the priority by scheduler for the semaphore.
Definition: semsetpriority.c:145
rtems_status_code rtems_semaphore_release(rtems_id id)
Releases the semaphore.
Definition: semrelease.c:45
rtems_status_code rtems_semaphore_obtain(rtems_id id, rtems_option option_set, rtems_interval timeout)
Obtains the semaphore.
Definition: semobtain.c:72
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
uint32_t rtems_name
This type represents Classic API object names.
Definition: types.h:226
uint32_t rtems_task_priority
This integer type represents task priorities of the Classic API.
Definition: types.h:257
Objects_Id rtems_id
This type represents RTEMS object identifiers.
Definition: types.h:94
Watchdog_Interval rtems_interval
This type represents clock tick intervals.
Definition: types.h:114
This header file provides types used by the Classic API.
This header file provides the Classic API directive options.
This header file provides the status codes of Classic API directives and support functions.