POK
/home/jaouen/pok_official/pok/trunk/libpok/arinc653/semaphore.c File Reference

Provides ARINC653 API functionnalities for semaphore management. More...

Go to the source code of this file.

Classes

struct  pok_arinc653_semaphore_layer_t

Functions

void CREATE_SEMAPHORE (SEMAPHORE_NAME_TYPE SEMAPHORE_NAME, SEMAPHORE_VALUE_TYPE CURRENT_VALUE, SEMAPHORE_VALUE_TYPE MAXIMUM_VALUE, QUEUING_DISCIPLINE_TYPE QUEUING_DISCIPLINE, SEMAPHORE_ID_TYPE *SEMAPHORE_ID, RETURN_CODE_TYPE *RETURN_CODE)
void WAIT_SEMAPHORE (SEMAPHORE_ID_TYPE SEMAPHORE_ID, SYSTEM_TIME_TYPE TIME_OUT, RETURN_CODE_TYPE *RETURN_CODE)
void SIGNAL_SEMAPHORE (SEMAPHORE_ID_TYPE SEMAPHORE_ID, RETURN_CODE_TYPE *RETURN_CODE)
void GET_SEMAPHORE_ID (SEMAPHORE_NAME_TYPE SEMAPHORE_NAME, SEMAPHORE_ID_TYPE *SEMAPHORE_ID, RETURN_CODE_TYPE *RETURN_CODE)
void GET_SEMAPHORE_STATUS (SEMAPHORE_ID_TYPE SEMAPHORE_ID, SEMAPHORE_STATUS_TYPE *SEMAPHORE_STATUS, RETURN_CODE_TYPE *RETURN_CODE)

Variables

pok_bool_t pok_arinc653_semaphores_initialized = 0
char * pok_arinc653_semaphores_names [POK_CONFIG_ARINC653_NB_SEMAPHORES]
pok_arinc653_semaphore_layer_t pok_arinc653_semaphores_layers [POK_CONFIG_ARINC653_NB_SEMAPHORES]

Detailed Description

Provides ARINC653 API functionnalities for semaphore management.

Definition in file semaphore.c.