CppELib 1.7.0
Loading...
Searching...
No Matches
PosixOSWrapper Namespace Reference

Implementation of OSWrapper for POSIX platform. More...

Classes

class  PosixEventFlagFactory
 
class  PosixFixedMemoryPoolFactory
 
class  PosixMutexFactory
 
class  PosixOneShotTimerFactory
 
class  PosixPeriodicTimerFactory
 
class  PosixThreadFactory
 
class  PosixVariableMemoryPoolFactory
 

Functions

void init (int lowestPriority, int highestPriority)
 Initialize the PosixOSWrapper.
 

Detailed Description

Implementation of OSWrapper for POSIX platform.

Function Documentation

◆ init()

void PosixOSWrapper::init ( int  lowestPriority,
int  highestPriority 
)

Initialize the PosixOSWrapper.

Parameters
lowestPrioritythe lowest priority of OSWrapper::Thread
highestPrioritythe highest priority of OSWrapper::Thread

This is a helper function for using PosixOSWrapper. All the factories of PosixOSWrapper are generated and resistered. If you use PosixOSWrapper, call this function when the application is initialized. You don't have to register for each factory.