LLVM 20.0.0git
|
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) |
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.
|
inline |
Definition at line 70 of file ExecutorProcessControl.h.