SST  13.1.0
Structural Simulation Toolkit
SST::Core::ThreadSafe::Barrier Class Reference

Public Member Functions

 Barrier (size_t count)
 
void resize (size_t newCount)
 ONLY call this while nobody is in wait()
 
double wait ()
 Wait for all threads to reach this point. More...
 
void disable ()
 

Member Function Documentation

◆ wait()

double SST::Core::ThreadSafe::Barrier::wait ( )
inline

Wait for all threads to reach this point.

Returns
0.0, or elapsed time spent waiting, if configured with –enable-profile

Referenced by SST::Simulation_impl::complete(), SST::Simulation_impl::initialize(), and SST::Simulation_impl::setup().


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