LLVM 19.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, bool Sequential=false)
 
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 195 of file Parallel.cpp.

◆ ~TaskGroup()

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

Definition at line 202 of file Parallel.cpp.

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

Member Function Documentation

◆ isParallel()

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

Definition at line 106 of file Parallel.h.

◆ spawn()

void llvm::parallel::TaskGroup::spawn ( std::function< void()>  f,
bool  Sequential = false 
)

◆ sync()

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

Definition at line 104 of file Parallel.h.


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