|
SUNphi
1.0
|
Fake barrier. More...
#include <Barrier.hpp>
Public Member Functions | |
| Barrier (const int &nThreads) | |
Dummy build the barrier for nThreads threads. More... | |
| void | sync (const char *barrName=nullptr, const int &threadId=0) |
| Dummy synchronize checking the name of the barrier. More... | |
Fake barrier.
Definition at line 94 of file Barrier.hpp.
|
inline |
Dummy build the barrier for nThreads threads.
| nThreads | Number of threads for which the barrier is defined |
Definition at line 97 of file Barrier.hpp.
|
inline |
Dummy synchronize checking the name of the barrier.
| barrName | Name of the barrier |
| threadId | Id of the thread used coming to check |
Definition at line 102 of file Barrier.hpp.