RTEMS
Functions
sem.h File Reference

This header file defines the Semaphore Manager API. More...

#include <stdint.h>
#include <rtems/rtems/attr.h>
#include <rtems/rtems/options.h>
#include <rtems/rtems/status.h>
#include <rtems/rtems/tasks.h>
#include <rtems/rtems/types.h>

Go to the source code of this file.

Functions

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 with the specified properties and returns its identifier. More...
 
rtems_status_code rtems_semaphore_delete (rtems_id id)
 % More...
 
rtems_status_code rtems_semaphore_flush (rtems_id id)
 % More...
 
rtems_status_code rtems_semaphore_ident (rtems_name name, uint32_t node, rtems_id *id)
 Identifies a semaphore object by the specified object name. More...
 
rtems_status_code rtems_semaphore_obtain (rtems_id id, rtems_option option_set, rtems_interval timeout)
 % More...
 
rtems_status_code rtems_semaphore_release (rtems_id id)
 % More...
 
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)
 % More...
 

Detailed Description

This header file defines the Semaphore Manager API.

Definition in file sem.h.