Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::NullThreadBarrier Class Reference

Implementation of a single-threaded barrier. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/concurrency/arccore/concurrency/NullThreadImplementation.h>

Inheritance diagram for Arcane::NullThreadBarrier:
Collaboration diagram for Arcane::NullThreadBarrier:

Private Member Functions

void init (Integer nb_thread) override
 Initializes the barrier for nb_thread.
void destroy () override
 Destroys the barrier.
void wait () override
 Blocks and waits until all threads call this method.

Detailed Description

Implementation of a single-threaded barrier.

Definition at line 34 of file NullThreadImplementation.h.

Member Function Documentation

◆ destroy()

void Arcane::NullThreadBarrier::destroy ( )
inlineoverrideprivatevirtual

Destroys the barrier.

Implements Arcane::IThreadBarrier.

Definition at line 38 of file NullThreadImplementation.h.

◆ init()

void Arcane::NullThreadBarrier::init ( Integer nb_thread)
inlineoverrideprivatevirtual

Initializes the barrier for nb_thread.

Implements Arcane::IThreadBarrier.

Definition at line 37 of file NullThreadImplementation.h.

◆ wait()

void Arcane::NullThreadBarrier::wait ( )
inlineoverrideprivatevirtual

Blocks and waits until all threads call this method.

Implements Arcane::IThreadBarrier.

Definition at line 39 of file NullThreadImplementation.h.


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