LLVM 17.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 execute (std::function< void()> f)
void sync () const

Detailed Description

Definition at line 78 of file Parallel.h.

Constructor & Destructor Documentation

◆ TaskGroup()

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

Definition at line 167 of file Parallel.cpp.

◆ ~TaskGroup()

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

Member Function Documentation

◆ execute()

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

Definition at line 189 of file Parallel.cpp.

References F, spawn(), and llvm::parallel::strategy.

◆ spawn()

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

◆ sync()

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

Definition at line 106 of file Parallel.h.

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