LLVM 19.0.0git
Public Member Functions | List of all members
llvm::orc::ExecutorProcessControl::RunAsTask Class Reference

Constructs an IncomingWFRHandler from a function object by creating a new function object that dispatches the original using a TaskDispatcher, wrapping the original as a GenericNamedTask. More...

#include "llvm/ExecutionEngine/Orc/ExecutorProcessControl.h"

Public Member Functions

 RunAsTask (TaskDispatcher &D)
 
template<typename FnT >
IncomingWFRHandler operator() (FnT &&Fn)
 

Detailed Description

Constructs an IncomingWFRHandler from a function object by creating a new function object that dispatches the original using a TaskDispatcher, wrapping the original as a GenericNamedTask.

This is the default approach for running WFR handlers.

Definition at line 80 of file ExecutorProcessControl.h.

Constructor & Destructor Documentation

◆ RunAsTask()

llvm::orc::ExecutorProcessControl::RunAsTask::RunAsTask ( TaskDispatcher D)
inline

Definition at line 82 of file ExecutorProcessControl.h.

Member Function Documentation

◆ operator()()

template<typename FnT >
IncomingWFRHandler llvm::orc::ExecutorProcessControl::RunAsTask::operator() ( FnT &&  Fn)
inline

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