RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
sem.h
Go to the documentation of this file.
1
9/*
10 * COPYRIGHT (c) 1989-2008, 2016.
11 * On-Line Applications Research Corporation (OAR).
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _RTEMS_RTEMS_SEM_H
19#define _RTEMS_RTEMS_SEM_H
20
21#include <rtems/rtems/attr.h>
22#include <rtems/rtems/options.h>
23#include <rtems/rtems/tasks.h>
24#include <rtems/rtems/types.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
50 rtems_name name,
51 uint32_t count,
52 rtems_attribute attribute_set,
53 rtems_task_priority priority_ceiling,
54 rtems_id *id
55);
56
76 rtems_name name,
77 uint32_t node,
78 rtems_id *id
79);
80
94 rtems_id id
95);
96
117 rtems_id id,
118 rtems_option option_set,
119 rtems_interval timeout
120);
121
132 rtems_id id
133);
134
149 rtems_id id
150);
151
187 rtems_id semaphore_id,
188 rtems_id scheduler_id,
189 rtems_task_priority new_priority,
190 rtems_task_priority *old_priority
191);
192
195#ifdef __cplusplus
196}
197#endif
198
199#endif
200/* end of include file */
uint32_t rtems_attribute
Definition: attr.h:41
uint32_t rtems_option
Definition: options.h:42
rtems_status_code rtems_semaphore_flush(rtems_id id)
RTEMS Semaphore Flush.
Definition: semflush.c:23
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
Definition: semcreate.c:34
rtems_status_code rtems_semaphore_ident(rtems_name name, uint32_t node, rtems_id *id)
RTEMS Semaphore Name to Id.
Definition: semident.c:24
rtems_status_code rtems_semaphore_delete(rtems_id id)
RTEMS Delete Semaphore.
Definition: semdelete.c:24
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.
Definition: semsetpriority.c:127
rtems_status_code rtems_semaphore_release(rtems_id id)
RTEMS Semaphore Release.
Definition: semrelease.c:28
rtems_status_code rtems_semaphore_obtain(rtems_id id, rtems_option option_set, rtems_interval timeout)
RTEMS Obtain Semaphore.
Definition: semobtain.c:51
rtems_status_code
Classic API Status.
Definition: status.h:43
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
uint32_t rtems_task_priority
Definition: tasks.h:55
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
Classic Task Manager API.