LLVM 20.0.0git
|
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) |
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.
|
inline |
Definition at line 82 of file ExecutorProcessControl.h.
|
inline |
Definition at line 85 of file ExecutorProcessControl.h.
References llvm::orc::TaskDispatcher::dispatch(), and llvm::orc::makeGenericNamedTask().