R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
Synchronization

Synchronization mechanisms. More...

Modules

 Events
 Event services for sending/receiving events in tasks.
 
 Monitor
 Functions for creating, initializing, maintaining and handling monitors.
 
 Mutex
 Functions for creating, initializing, maintaining Mutexes.
 
 Semaphore
 Functions for creating, initializing, maintaining and handling Semaphores.
 

Data Structures

struct  syncEleStruc
 unified structure for all synchronization mechanism objects. More...
 

Typedefs

typedef uint8_t SyncEleID
 ID of the synchronization element. More...
 
typedef enum evtType EvtType
 Enumeration of all the event types in the system.
 
typedef enum syncEleType SyncEleType
 Enumeration of synchronization element types.
 
typedef struct syncEleStruc SyncEle
 unified structure for all synchronization mechanism objects. More...
 

Enumerations

Detailed Description

Synchronization mechanisms.

Typedef Documentation

typedef struct syncEleStruc SyncEle

unified structure for all synchronization mechanism objects.

Keep track of the synchronization mechanism, that suspended the task. Also keep track of the maximum remaining blocking time (in SysTicks). Each synchronization mechanism objects has its own unique attributes within the structure.

typedef uint8_t SyncEleID

ID of the synchronization element.

Eight bit value representing the ID assigned to the synchronization element. Every synchronization element has its own ID management. Hence the same ID can be given to different synchronization elements with different type.

Enumeration Type Documentation

enum evtType

Enumeration of all the event types in the system.

Enumerator
EvtTMR 

EvtTMR.

EvtMSGRCV 

EvtMSGRCV.

EvtMSGSND 

EvtMSGSND.

EvtEVT 

EvtEVT.

EvtSEM 

EvtSEM.

EvtMNTR 

EvtMNTR.

Enumeration of synchronization element types.

Enumerator
SyncEle_TYPE_NOID 

No ID of the synchronization element (Probably error)

SyncEle_TYPE_TMR 

ID of the software timer synchronization mechanism.

SyncEle_TYPE_EVT 

ID of the event synchronization mechanism.

SyncEle_TYPE_BinSEM 

ID of the binary semaphore synchronization mechanism.

SyncEle_TYPE_CntSEM 

ID of the counting semaphore synchronization mechanism.

SyncEle_TYPE_MTX 

ID of the mutex synchronization mechanism.

SyncEle_TYPE_MNTR 

ID of the monitor synchronization mechanism.