LLVM 20.0.0git
Public Member Functions | List of all members
llvm::orc::TaskDispatcher Class Referenceabstract

Abstract base for classes that dispatch ORC Tasks. More...

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

Inheritance diagram for llvm::orc::TaskDispatcher:
Inheritance graph
[legend]

Public Member Functions

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

Abstract base for classes that dispatch ORC Tasks.

Definition at line 96 of file TaskDispatch.h.

Constructor & Destructor Documentation

◆ ~TaskDispatcher()

llvm::orc::TaskDispatcher::~TaskDispatcher ( )
virtualdefault

Member Function Documentation

◆ dispatch()

virtual void llvm::orc::TaskDispatcher::dispatch ( std::unique_ptr< Task T)
pure virtual

◆ shutdown()

virtual void llvm::orc::TaskDispatcher::shutdown ( )
pure virtual

Called by ExecutionSession. Waits until all tasks have completed.

Implemented in llvm::orc::InPlaceTaskDispatcher.


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