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

Constructs an IncomingWFRHandler from a function object that is callable as void(shared::WrapperFunctionResult). More...

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

Public Member Functions

template<typename FnT >
IncomingWFRHandler operator() (FnT &&Fn)
 

Detailed Description

Constructs an IncomingWFRHandler from a function object that is callable as void(shared::WrapperFunctionResult).

The function object will be called directly. This should be used with care as it may block listener threads in remote EPCs. It is only suitable for simple tasks (e.g. setting a future), or for performing some quick analysis before dispatching "real" work as a Task.

Definition at line 67 of file ExecutorProcessControl.h.

Member Function Documentation

◆ operator()()

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

Definition at line 70 of file ExecutorProcessControl.h.


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