RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros | Functions
semcreate.c File Reference

This source file contains the implementation of rtems_semaphore_create() and the Semaphore Manager system initialization. More...

#include <rtems/rtems/semimpl.h>
#include <rtems/rtems/attrimpl.h>
#include <rtems/rtems/statusimpl.h>
#include <rtems/rtems/support.h>
#include <rtems/rtems/tasksimpl.h>
#include <rtems/score/schedulerimpl.h>
#include <rtems/score/sysstate.h>
#include <rtems/sysinit.h>

Macros

#define SEMAPHORE_KIND_MASK
 

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.
 
 RTEMS_SYSINIT_ITEM (_Semaphore_Manager_initialization, RTEMS_SYSINIT_CLASSIC_SEMAPHORE, RTEMS_SYSINIT_ORDER_MIDDLE)
 

Detailed Description

This source file contains the implementation of rtems_semaphore_create() and the Semaphore Manager system initialization.

Macro Definition Documentation

◆ SEMAPHORE_KIND_MASK

#define SEMAPHORE_KIND_MASK
Value:
#define RTEMS_SEMAPHORE_CLASS
This attribute constant represents the mask of bits associated with the Classic API semaphore classes...
Definition: attr.h:309
#define RTEMS_INHERIT_PRIORITY
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:199
#define RTEMS_MULTIPROCESSOR_RESOURCE_SHARING
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:226
#define RTEMS_PRIORITY_CEILING
This attribute constant indicates that the Classic API semaphore created by rtems_semaphore_create() ...
Definition: attr.h:298