LLVM  5.0.0
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
 
ParallelCallGroup & operator= (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 1622 of file RPCUtils.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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 1631 of file RPCUtils.h.

References llvm::Lock.

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

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

Definition at line 1660 of file RPCUtils.h.

References llvm::Lock.


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