#include <memmtmpi.h>
Inheritance diagram for MTMPIMemoryGrp
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 |
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.
|
Synchronizes all the nodes. Consider using this when the way you you access memory changes. Reimplemented from MsgMemoryGrp. |