RTEMS 6.1-rc7
Loading...
Searching...
No Matches
Files | Data Structures | Functions
Semaphore Handler

This group contains the Semaphore Handler implementation. More...

Files

file  coresem.h
 This header file provides interfaces of the Semaphore Handler which are used by the implementation and the Application Configuration.
 
file  coresemimpl.h
 This header file provides interfaces of the Semaphore Handler which are only used by the implementation.
 
file  coresem.c
 This source file contains the implementation of _CORE_semaphore_Initialize().
 

Data Structures

struct  CORE_semaphore_Control
 

Functions

void _CORE_semaphore_Initialize (CORE_semaphore_Control *the_semaphore, uint32_t initial_value)
 Initializes the semaphore based on the parameters passed.
 

Detailed Description

This group contains the Semaphore Handler implementation.

This handler encapsulates functionality which provides the foundation Semaphore services used in all of the APIs supported by RTEMS.

Function Documentation

◆ _CORE_semaphore_Initialize()

void _CORE_semaphore_Initialize ( CORE_semaphore_Control the_semaphore,
uint32_t  initial_value 
)

Initializes the semaphore based on the parameters passed.

This package is the implementation of the CORE Semaphore Handler. This core object utilizes standard Dijkstra counting semaphores to provide synchronization and mutual exclusion capabilities.

This routine initializes the semaphore based on the parameters passed.

Parameters
[out]the_semaphoreThe semaphore to initialize.
initial_valueThe initial count of the semaphore.