AGX Dynamics  2.35.0.1
agx::Barrier Class Reference

Barrier synchronization primitive. More...

#include <ThreadSynchronization.h>

Public Member Functions

 Barrier (const Barrier &)=delete
 
 Barrier (int numThreads)
 
void block ()
 
void block (int numThreads)
 
Barrier & operator= (const Barrier &other)=delete
 

Detailed Description

Barrier synchronization primitive.

Definition at line 68 of file ThreadSynchronization.h.

Constructor & Destructor Documentation

◆ Barrier() [1/2]

agx::Barrier::Barrier ( int  numThreads)
inline

Definition at line 203 of file ThreadSynchronization.h.

◆ Barrier() [2/2]

agx::Barrier::Barrier ( const Barrier &  )
delete

Member Function Documentation

◆ block() [1/2]

void agx::Barrier::block ( )

Definition at line 208 of file ThreadSynchronization.h.

◆ block() [2/2]

void agx::Barrier::block ( int  numThreads)

Definition at line 213 of file ThreadSynchronization.h.

References agx::Thread::getCurrentThread().

◆ operator=()

Barrier& agx::Barrier::operator= ( const Barrier &  other)
delete

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