Nebula
Loading...
Searching...
No Matches
Linux::LinuxRendezvous Class Reference

#include <linuxrendezvous.h>

Detailed Description

A thread barrier for 2 threads using semaphores.

(C) 2010 Radon Labs GmbH (C) 2013-2018 Individual contributors, see AUTHORS file

Public Member Functions

 LinuxRendezvous ()
 constructor
 
 ~LinuxRendezvous ()
 destructor
 
void MasterArrive ()
 call for "master" thread
 
void SlaveArrive ()
 call for "slave" thread
 

Private Attributes

sem_t semMaster
 
sem_t semSlave
 

Constructor & Destructor Documentation

◆ LinuxRendezvous()

Linux::LinuxRendezvous::LinuxRendezvous ( )
inline

constructor

◆ ~LinuxRendezvous()

Linux::LinuxRendezvous::~LinuxRendezvous ( )
inline

destructor

Member Function Documentation

◆ MasterArrive()

void Linux::LinuxRendezvous::MasterArrive ( )
inline

call for "master" thread

◆ SlaveArrive()

void Linux::LinuxRendezvous::SlaveArrive ( )
inline

call for "slave" thread

Member Data Documentation

◆ semMaster

sem_t Linux::LinuxRendezvous::semMaster
private

◆ semSlave

sem_t Linux::LinuxRendezvous::semSlave
private

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