Public Member Functions | |
| void | destroy () override |
| Destroys the barrier. | |
| void | init (Integer nb_thread) override |
| Initializes the barrier for nb_thread. | |
| void | wait () override |
| Blocks and waits until all threads call this method. | |
Private Attributes | |
| Int32 | m_nb_thread = 0 |
| std::atomic< Int32 > | m_nb_thread_finished = 0 |
| std::atomic< Int32 > | m_timestamp = 0 |
Definition at line 80 of file TBBThreadImplementation.cc.
|
inlineoverridevirtual |
Destroys the barrier.
Implements Arcane::IThreadBarrier.
Definition at line 87 of file TBBThreadImplementation.cc.
|
inlineoverridevirtual |
Initializes the barrier for nb_thread.
Implements Arcane::IThreadBarrier.
Definition at line 89 of file TBBThreadImplementation.cc.
|
inlineoverridevirtual |
Blocks and waits until all threads call this method.
Implements Arcane::IThreadBarrier.
Definition at line 96 of file TBBThreadImplementation.cc.
References Arcane::arcaneDoCPUPause().
|
private |
Definition at line 121 of file TBBThreadImplementation.cc.
|
private |
Definition at line 122 of file TBBThreadImplementation.cc.
|
private |
Definition at line 123 of file TBBThreadImplementation.cc.