LLVM 20.0.0git
Public Member Functions | List of all members
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:
Inheritance graph
[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 ()
 
virtual void dispatch (std::unique_ptr< Task > T)=0
 Run the given task.
 
virtual void shutdown ()=0
 Called by ExecutionSession. Waits until all tasks have completed.
 

Detailed Description

Runs all tasks on the current thread.

Definition at line 108 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 22 of file TaskDispatch.cpp.

◆ shutdown()

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

Called by ExecutionSession. Waits until all tasks have completed.

Implements llvm::orc::TaskDispatcher.

Definition at line 24 of file TaskDispatch.cpp.


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