LLVM  14.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. More...
 
virtual void shutdown ()=0
 Called by ExecutionSession. Waits until all tasks have completed. More...
 

Detailed Description

Abstract base for classes that dispatch ORC Tasks.

Definition at line 95 of file TaskDispatch.h.

Constructor & Destructor Documentation

◆ ~TaskDispatcher()

llvm::orc::TaskDispatcher::~TaskDispatcher ( )
virtual

Definition at line 19 of file TaskDispatch.cpp.

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::DynamicThreadPoolTaskDispatcher, and llvm::orc::InPlaceTaskDispatcher.


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