LLVM 20.0.0git
Public Member Functions | List of all members
llvm::parallel::detail::Latch Class Reference

#include "llvm/Support/Parallel.h"

Public Member Functions

 Latch (uint32_t Count=0)
 
 ~Latch ()
 
void inc ()
 
void dec ()
 
void sync () const
 

Detailed Description

Definition at line 59 of file Parallel.h.

Constructor & Destructor Documentation

◆ Latch()

llvm::parallel::detail::Latch::Latch ( uint32_t  Count = 0)
inlineexplicit

Definition at line 65 of file Parallel.h.

◆ ~Latch()

llvm::parallel::detail::Latch::~Latch ( )
inline

Definition at line 66 of file Parallel.h.

References assert().

Member Function Documentation

◆ dec()

void llvm::parallel::detail::Latch::dec ( )
inline

Definition at line 76 of file Parallel.h.

References Cond.

Referenced by llvm::parallel::TaskGroup::spawn().

◆ inc()

void llvm::parallel::detail::Latch::inc ( )
inline

Definition at line 71 of file Parallel.h.

Referenced by llvm::parallel::TaskGroup::spawn().

◆ sync()

void llvm::parallel::detail::Latch::sync ( ) const
inline

Definition at line 82 of file Parallel.h.

References Cond.

Referenced by llvm::parallel::TaskGroup::~TaskGroup().


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