LLVM  15.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]
Collaboration diagram for llvm::orc::InPlaceTaskDispatcher:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Runs all tasks on the current thread.

Definition at line 107 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 21 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 23 of file TaskDispatch.cpp.


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