LLVM 19.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)

Definition at line 65 of file Parallel.h.

◆ ~Latch()

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

Definition at line 66 of file Parallel.h.

References assert().

Member Function Documentation

◆ dec()

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

Definition at line 76 of file Parallel.h.

References Cond.

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

◆ inc()

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

Definition at line 71 of file Parallel.h.

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

◆ sync()

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

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: