LLVM  14.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 36 of file Parallel.h.

Constructor & Destructor Documentation

◆ Latch()

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

Definition at line 42 of file Parallel.h.

◆ ~Latch()

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

Definition at line 43 of file Parallel.h.

References assert().

Member Function Documentation

◆ dec()

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

Definition at line 53 of file Parallel.h.

References Cond.

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

◆ inc()

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

Definition at line 48 of file Parallel.h.

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

◆ sync()

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

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