RTEMS
Classes | Macros | Functions
semaphoreimpl.h File Reference

Semaphore Implementation. More...

#include <sys/lock.h>
#include <rtems/score/percpu.h>
#include <rtems/score/threadqimpl.h>

Go to the source code of this file.

Classes

struct  Sem_Control
 

Macros

#define SEMAPHORE_TQ_OPERATIONS   &_Thread_queue_Operations_priority
 

Functions

static Sem_Control_Sem_Get (struct _Semaphore_Control *_sem)
 Gets the Sem_Control * of the semaphore. More...
 
static Thread_Control_Sem_Queue_acquire_critical (Sem_Control *sem, Thread_queue_Context *queue_context)
 Acquires the semaphore queue critical. More...
 
static void _Sem_Queue_release (Sem_Control *sem, ISR_Level level, Thread_queue_Context *queue_context)
 Releases the semaphore queue. More...
 

Detailed Description

Semaphore Implementation.

Definition in file semaphoreimpl.h.