ISIX-RTOS - small operating system for ARM microcontrollers 1.2
Data Structures | Namespaces | Typedefs | Functions | Variables

semaphore.h File Reference

#include <isix/config.h>
#include <isix/types.h>
#include <cstddef>
Include dependency graph for isix/semaphore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  isix::semaphore
 Semaphore C++ class wrapper. More...

Namespaces

namespace  isix

Typedefs

typedef struct sem_struct isix::sem_t

Functions

sem_t * isix::isix_sem_create_limited (sem_t *sem, int val, int limit_val)
static sem_t * isix::isix_sem_create (sem_t *sem, int val)
int isix::isix_sem_wait (sem_t *sem, tick_t timeout)
int isix::isix_sem_get_isr (sem_t *sem)
int isix::isixp_sem_signal (sem_t *sem, bool isr)
static int isix::isix_sem_signal (sem_t *sem)
static int isix::isix_sem_signal_isr (sem_t *sem)
int isix::isix_sem_setval (sem_t *sem, int val)
int isix::isix_sem_getval (sem_t *sem)
int isix::isix_sem_destroy (sem_t *sem)
tick_t isix::isix_ms2tick (unsigned long ms)
 Convert ms to ticks.
int isix::isix_wait (tick_t timeout)
static int isix::isix_wait_ms (unsigned long ms)

Variables

static const unsigned isix::ISIX_TIME_INFINITE = 0
static const unsigned isix::ISIX_SEM_ULIMITED = 0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines