RKH
rkhsma_sync.h File Reference

Specifies the interface of the blocking mechanism (synchro) for active object scheduling. More...

#include "rkhsma.h"
Include dependency graph for rkhsma_sync.h:

Go to the source code of this file.

Functions

void rkh_sma_block (RKH_SMA_T *const me)
 Encapsulates the mechanism of blocking the native event queue. More...
 
void rkh_sma_setReady (RKH_SMA_T *const me)
 Encapsulates the mechanism of signaling the thread waiting on the used native event queue. Thus, the active object is inserted in the ready list as ready-to-dispatch. More...
 
void rkh_sma_setUnready (RKH_SMA_T *const me)
 Informs the underlying kernel that the active object's event queue is becoming empty. Thus, the active object is removed from the ready list. More...
 

Detailed Description

Specifies the interface of the blocking mechanism (synchro) for active object scheduling.

Definition in file rkhsma_sync.h.

Function Documentation

◆ rkh_sma_block()

void rkh_sma_block ( RKH_SMA_T *const  me)

Encapsulates the mechanism of blocking the native event queue.

Parameters
[in]mepointer to active object

◆ rkh_sma_setReady()

void rkh_sma_setReady ( RKH_SMA_T *const  me)

Encapsulates the mechanism of signaling the thread waiting on the used native event queue. Thus, the active object is inserted in the ready list as ready-to-dispatch.

Parameters
[in]mepointer to active object

◆ rkh_sma_setUnready()

void rkh_sma_setUnready ( RKH_SMA_T *const  me)

Informs the underlying kernel that the active object's event queue is becoming empty. Thus, the active object is removed from the ready list.

Parameters
[in]mepointer to active object