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

#include "llvm/Support/Parallel.h"

Public Member Functions

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

Detailed Description

Definition at line 61 of file Parallel.h.

Constructor & Destructor Documentation

◆ TaskGroup()

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

Definition at line 154 of file Parallel.cpp.

◆ ~TaskGroup()

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

Definition at line 155 of file Parallel.cpp.

References llvm::parallel::detail::TaskGroupInstances.

Member Function Documentation

◆ spawn()

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

◆ sync()

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

Definition at line 71 of file Parallel.h.

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

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