LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::orc::rpc::ParallelCallGroup Class Reference

Allows a set of asynchrounous calls to be dispatched, and then waited on as a group. More...

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

Public Member Functions

 ParallelCallGroup ()=default
 
 ParallelCallGroup (const ParallelCallGroup &)=delete
 
ParallelCallGroupoperator= (const ParallelCallGroup &)=delete
 
template<typename AsyncDispatcher , typename HandlerT , typename... ArgTs>
Error call (const AsyncDispatcher &AsyncDispatch, HandlerT Handler, const ArgTs &... Args)
 Make as asynchronous call. More...
 
void wait ()
 Blocks until all calls have been completed and their return value handlers run. More...
 

Detailed Description

Allows a set of asynchrounous calls to be dispatched, and then waited on as a group.

Definition at line 1636 of file RPCUtils.h.

Constructor & Destructor Documentation

◆ ParallelCallGroup() [1/2]

llvm::orc::rpc::ParallelCallGroup::ParallelCallGroup ( )
default

◆ ParallelCallGroup() [2/2]

llvm::orc::rpc::ParallelCallGroup::ParallelCallGroup ( const ParallelCallGroup )
delete

Member Function Documentation

◆ call()

template<typename AsyncDispatcher , typename HandlerT , typename... ArgTs>
Error llvm::orc::rpc::ParallelCallGroup::call ( const AsyncDispatcher &  AsyncDispatch,
HandlerT  Handler,
const ArgTs &...  Args 
)
inline

Make as asynchronous call.

Definition at line 1645 of file RPCUtils.h.

References Arg, and llvm::Lock.

◆ operator=()

ParallelCallGroup& llvm::orc::rpc::ParallelCallGroup::operator= ( const ParallelCallGroup )
delete

◆ wait()

void llvm::orc::rpc::ParallelCallGroup::wait ( )
inline

Blocks until all calls have been completed and their return value handlers run.

Definition at line 1674 of file RPCUtils.h.

References llvm::Lock.


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