pMR API Documentation
Public Member Functions | List of all members
Connection Class Reference

Point-to-Point Connection.

#include <connection.hpp>

Public Member Functions

 Connection (Target const &target)
 Establish a point-to-point connection with target. More...
 

Constructor & Destructor Documentation

Connection ( Target const &  target)
Parameters
targetTarget
Warning
Uses blocking routines, hence the order processes call this function for different targets is important. E.g. even ranks left neighbor first, odd ranks right neighbor first.
Note
Using one thread for each connection can avoid dead locks.
Warning
Only one thread may call any function associated with a connection at any time, i.e. calls to a connection have to be serialized.