![]() |
fpmas 1.6
|
#include <hard_sync_mode.h>
Public Member Functions | |
HardSyncModeBase (fpmas::api::graph::DistributedGraph< T > &graph, fpmas::api::communication::MpiCommunicator &comm, ServerPackBase &server_pack) | |
HardSyncMutex< T > * | buildMutex (fpmas::api::graph::DistributedNode< T > *node) override |
HardDataSync< T > & | getDataSync () override |
![]() | |
virtual Mutex< T > * | buildMutex (api::graph::DistributedNode< T > *node)=0 |
virtual SyncLinker< T > & | getSyncLinker ()=0 |
virtual DataSync< T > & | getDataSync ()=0 |
Protected Attributes | |
TerminationAlgorithm | termination |
MutexServer< T > | mutex_server |
Defines a generic HardSyncMode base, i.e. a mode where read() and acquire() operations are performed on the fly using point-to-point MPI calls, what is permitted by the HardDataSync usage.
The SyncLinker is not yet defined in this class, as link operations management can be performed on the fly or using collective communications.
|
inline |
HardSyncModeBase constructor.
graph | reference to managed graph |
comm | MPI communicator |
server_pack | the ServerPack instance used for HardDataSync synchronization. |
|
inlineoverridevirtual |
Builds a new HardSyncMutex from the specified node data.
node | node to which the built mutex will be associated |
Implements fpmas::api::synchro::SyncMode< T >.
|
inlineoverridevirtual |
Returns a reference to the internal HardDataSync instance.
Implements fpmas::api::synchro::SyncMode< T >.
|
protected |
A TerminationAlgorithm instance that can be used to terminate ServerPacks.
|
protected |
The MutexServer instance used by the internal HardDataSync component.