ifw-fgf 1.0.0-pre1
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ifw::fgf::common::Semaphore Class Reference

Semaphore class for safe semaphore usage. More...

#include <semaphore.hpp>

Public Member Functions

 Semaphore (char name[], unsigned int val)
 
int wait ()
 
int post ()
 
int tryWait ()
 
void close ()
 

Detailed Description

Semaphore class for safe semaphore usage.

Constructor & Destructor Documentation

◆ Semaphore()

ifw::fgf::common::Semaphore::Semaphore ( char name[],
unsigned int val )

Member Function Documentation

◆ close()

void ifw::fgf::common::Semaphore::close ( )

◆ post()

int ifw::fgf::common::Semaphore::post ( )

◆ tryWait()

int ifw::fgf::common::Semaphore::tryWait ( )

◆ wait()

int ifw::fgf::common::Semaphore::wait ( )

The documentation for this class was generated from the following files: