![]() |
Peano
|
#include <BooleanSemaphore.h>
Public Types | |
using | Lock = tarch::multicore::Lock |
Public Member Functions | |
BooleanSemaphore () | |
~BooleanSemaphore () | |
Private Member Functions | |
void | enterCriticalSection () |
void | leaveCriticalSection () |
bool | tryEnterCriticalSection () |
BooleanSemaphore (const BooleanSemaphore &) | |
You may not copy a semaphore. | |
BooleanSemaphore & | operator= (const BooleanSemaphore &) |
You may not copy a semaphore. | |
Private Attributes | |
tbb::spin_mutex | _mutex |
Friends | |
class | tarch::multicore::Lock |
class | tarch::mpi::BooleanSemaphore |
class | MultiReadSingleWriteSemaphore |
class | RecursiveSemaphore |
Definition at line 21 of file BooleanSemaphore.h.
Definition at line 48 of file BooleanSemaphore.h.
|
private |
You may not copy a semaphore.
Definition at line 37 of file BooleanSemaphore.h.
Definition at line 6 of file BooleanSemaphore.cpp.
tarch::multicore::BooleanSemaphore::~BooleanSemaphore | ( | ) |
Definition at line 10 of file BooleanSemaphore.cpp.
|
private |
Definition at line 14 of file BooleanSemaphore.cpp.
Referenced by tarch::mpi::BooleanSemaphore::enterCriticalSection().
|
private |
Definition at line 18 of file BooleanSemaphore.cpp.
|
private |
You may not copy a semaphore.
Definition at line 42 of file BooleanSemaphore.h.
|
private |
Definition at line 22 of file BooleanSemaphore.cpp.
|
friend |
Definition at line 25 of file BooleanSemaphore.h.
|
friend |
Definition at line 26 of file BooleanSemaphore.h.
|
friend |
Definition at line 24 of file BooleanSemaphore.h.
|
friend |
Definition at line 23 of file BooleanSemaphore.h.
|
private |
Definition at line 28 of file BooleanSemaphore.h.