RTEMS CPU Kit with SuperCore
4.11.3
|
Classic Semaphores API. More...
#include <rtems/rtems/types.h>
#include <rtems/rtems/options.h>
#include <rtems/rtems/support.h>
#include <rtems/rtems/tasks.h>
#include <rtems/rtems/attr.h>
#include <rtems/score/coremutex.h>
#include <rtems/score/object.h>
#include <rtems/score/coresem.h>
#include <rtems/score/mrsp.h>
Go to the source code of this file.
Data Structures | |
struct | Semaphore_Control |
The following defines the control block used to manage each semaphore. More... | |
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) |
rtems_semaphore_create More... | |
rtems_status_code | rtems_semaphore_ident (rtems_name name, uint32_t node, rtems_id *id) |
RTEMS Semaphore Name to Id. More... | |
rtems_status_code | rtems_semaphore_delete (rtems_id id) |
RTEMS Delete Semaphore. More... | |
rtems_status_code | rtems_semaphore_obtain (rtems_id id, rtems_option option_set, rtems_interval timeout) |
RTEMS Obtain Semaphore. More... | |
rtems_status_code | rtems_semaphore_release (rtems_id id) |
RTEMS Semaphore Release. More... | |
rtems_status_code | rtems_semaphore_flush (rtems_id id) |
RTEMS Semaphore Flush. 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) |
Sets the priority value with respect to the specified scheduler of a semaphore. More... | |
Classic Semaphores API.
This include file contains all the constants and structures associated with the Semaphore Manager. This manager utilizes standard Dijkstra counting semaphores to provide synchronization and mutual exclusion capabilities.
Directives provided are: