RTEMS
Functions
coresemimpl.h File Reference

Inlined Routines Associated with the SuperCore Semaphore. More...

#include <rtems/score/coresem.h>
#include <rtems/score/objectimpl.h>
#include <rtems/score/threaddispatch.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/score/statesimpl.h>
#include <rtems/score/status.h>

Go to the source code of this file.

Functions

void _CORE_semaphore_Initialize (CORE_semaphore_Control *the_semaphore, uint32_t initial_value)
 Initializes the semaphore based on the parameters passed. More...
 
static __inline__ void _CORE_semaphore_Acquire_critical (CORE_semaphore_Control *the_semaphore, Thread_queue_Context *queue_context)
 Acquires the semaphore critical. More...
 
static __inline__ void _CORE_semaphore_Release (CORE_semaphore_Control *the_semaphore, Thread_queue_Context *queue_context)
 Releases the semaphore. More...
 
static __inline__ void _CORE_semaphore_Destroy (CORE_semaphore_Control *the_semaphore, const Thread_queue_Operations *operations, Thread_queue_Context *queue_context)
 Destroys the semaphore. More...
 
static __inline__ Status_Control _CORE_semaphore_Surrender (CORE_semaphore_Control *the_semaphore, const Thread_queue_Operations *operations, uint32_t maximum_count, Thread_queue_Context *queue_context)
 Surrenders a unit to the semaphore. More...
 
static __inline__ uint32_t _CORE_semaphore_Get_count (const CORE_semaphore_Control *the_semaphore)
 Returns the current count associated with the semaphore. More...
 
static __inline__ Status_Control _CORE_semaphore_Seize (CORE_semaphore_Control *the_semaphore, const Thread_queue_Operations *operations, Thread_Control *executing, bool wait, Thread_queue_Context *queue_context)
 Seizes the semaphore. More...
 

Detailed Description

Inlined Routines Associated with the SuperCore Semaphore.

This include file contains all of the inlined routines associated with the SuperCore semaphore.

Definition in file coresemimpl.h.