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

Inheritance graph
[legend]
Collaboration diagram for MTMPIMemoryGrp:

Collaboration graph
[legend]
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 Thu Oct 4 18:09:26 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.