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

#include "llvm/Support/Parallel.h"

Public Member Functions

 TaskGroup ()
 
 ~TaskGroup ()
 
void spawn (std::function< void()> f)
 
void sync () const
 
bool isParallel () const
 

Detailed Description

Definition at line 89 of file Parallel.h.

Constructor & Destructor Documentation

◆ TaskGroup()

llvm::parallel::TaskGroup::TaskGroup ( )

Definition at line 181 of file Parallel.cpp.

◆ ~TaskGroup()

llvm::parallel::TaskGroup::~TaskGroup ( )

Definition at line 188 of file Parallel.cpp.

References llvm::parallel::detail::Latch::sync().

Member Function Documentation

◆ isParallel()

bool llvm::parallel::TaskGroup::isParallel ( ) const
inline

Definition at line 104 of file Parallel.h.

◆ spawn()

void llvm::parallel::TaskGroup::spawn ( std::function< void()>  f)

◆ sync()

void llvm::parallel::TaskGroup::sync ( ) const
inline

Definition at line 102 of file Parallel.h.


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