Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

MTMPIMemoryGrp Class Reference

This MemoryGrp class requires a MT-safe MPI implementation. More...

#include <memmtmpi.h>

Inheritance diagram for MTMPIMemoryGrp:

ActiveMsgMemoryGrp MsgMemoryGrp MemoryGrp DescribedClass RefCount Identity List of all members.

Public Methods

 MTMPIMemoryGrp (const Ref< MessageGrp > &msg, const Ref< ThreadGrp > &th)
 MTMPIMemoryGrp (const Ref< KeyVal > &)
 ~MTMPIMemoryGrp ()
void activate ()
 Activate is called before the memory is to be used.

void deactivate ()
 Deactivate is called after the memory has been used.

void sync ()
 Synchronizes all the nodes. More...


Friends

class MTMPIThread

Detailed Description

This MemoryGrp class requires a MT-safe MPI implementation.

The default MessageGrp must be a MPIMessageGrp. MPI must be safe with respect to the default ThreadGrp. Alternately, a MessageGrp and a ThreadGrp can be passed to the constructor.


Member Function Documentation

void MTMPIMemoryGrp::sync   [virtual]
 

Synchronizes all the nodes.

Consider using this when the way you you access memory changes.

Reimplemented from MsgMemoryGrp.


The documentation for this class was generated from the following file:
Generated at Sat Nov 9 12:43:42 2002 for MPQC 2.0.4 using the documentation package Doxygen 1.2.15.