Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Public Member Functions | List of all members
proteus::CommThreadHandle Class Reference

Manages the lifecycle of a background communication thread. More...

#include <MPIHelpers.h>

Public Member Functions

 CommThreadHandle ()=default
 
 ~CommThreadHandle ()
 
 CommThreadHandle (const CommThreadHandle &)=delete
 
CommThreadHandleoperator= (const CommThreadHandle &)=delete
 
template<typename Callable >
void start (Callable &&ThreadFunc)
 
void join ()
 
bool isRunning () const
 

Detailed Description

Manages the lifecycle of a background communication thread.

Constructor & Destructor Documentation

◆ CommThreadHandle() [1/2]

proteus::CommThreadHandle::CommThreadHandle ( )
default

◆ ~CommThreadHandle()

proteus::CommThreadHandle::~CommThreadHandle ( )

◆ CommThreadHandle() [2/2]

proteus::CommThreadHandle::CommThreadHandle ( const CommThreadHandle )
delete

Member Function Documentation

◆ isRunning()

bool proteus::CommThreadHandle::isRunning ( ) const

◆ join()

void proteus::CommThreadHandle::join ( )

◆ operator=()

CommThreadHandle & proteus::CommThreadHandle::operator= ( const CommThreadHandle )
delete

◆ start()

template<typename Callable >
void proteus::CommThreadHandle::start ( Callable &&  ThreadFunc)
inline

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