LLVM 22.0.0git
llvm::orc::InPlaceTaskDispatcher Class Reference

Runs all tasks on the current thread. More...

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

Inheritance diagram for llvm::orc::InPlaceTaskDispatcher:
[legend]

Public Member Functions

void dispatch (std::unique_ptr< Task > T) override
 Run the given task.
void shutdown () override
 Called by ExecutionSession. Waits until all tasks have completed.
Public Member Functions inherited from llvm::orc::TaskDispatcher
virtual ~TaskDispatcher ()

Detailed Description

Runs all tasks on the current thread.

Definition at line 119 of file TaskDispatch.h.

Member Function Documentation

◆ dispatch()

void llvm::orc::InPlaceTaskDispatcher::dispatch ( std::unique_ptr< Task > T)
overridevirtual

Run the given task.

Implements llvm::orc::TaskDispatcher.

Definition at line 27 of file TaskDispatch.cpp.

References T.

◆ shutdown()

void llvm::orc::InPlaceTaskDispatcher::shutdown ( )
overridevirtual

Called by ExecutionSession. Waits until all tasks have completed.

Implements llvm::orc::TaskDispatcher.

Definition at line 29 of file TaskDispatch.cpp.


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