Peano
Loading...
Searching...
No Matches
BooleanSemaphore.cpp
Go to the documentation of this file.
1
#include "
tarch/multicore/multicore.h
"
2
3
4
#if !defined(SharedMemoryParallelisation)
5
#include "
tarch/multicore/BooleanSemaphore.h
"
6
tarch::multicore::BooleanSemaphore::BooleanSemaphore
() {
7
}
8
9
10
tarch::multicore::BooleanSemaphore::~BooleanSemaphore
() {
11
}
12
13
14
void
tarch::multicore::BooleanSemaphore::enterCriticalSection
() {
15
}
16
17
18
void
tarch::multicore::BooleanSemaphore::leaveCriticalSection
() {
19
}
20
21
22
bool
tarch::multicore::BooleanSemaphore::tryEnterCriticalSection
() {
23
return
true
;
24
}
25
26
#endif
tarch::multicore::BooleanSemaphore::enterCriticalSection
void enterCriticalSection()
Definition
BooleanSemaphore.cpp:14
tarch::multicore::BooleanSemaphore::leaveCriticalSection
void leaveCriticalSection()
Definition
BooleanSemaphore.cpp:18
tarch::multicore::BooleanSemaphore::BooleanSemaphore
friend class tarch::mpi::BooleanSemaphore
Definition
BooleanSemaphore.h:24
tarch::multicore::BooleanSemaphore::tryEnterCriticalSection
bool tryEnterCriticalSection()
Definition
BooleanSemaphore.cpp:22
tarch::multicore::BooleanSemaphore::~BooleanSemaphore
~BooleanSemaphore()
Definition
BooleanSemaphore.cpp:10
BooleanSemaphore.h
multicore.h
src
tarch
multicore
BooleanSemaphore.cpp
Generated on Mon Feb 10 2025 12:02:04 for Peano by
1.10.0