#include <client_server.h>
|
static const int | LOCAL = -1 |
|
Structure used to represent any type of request to an HardSyncMutex.
◆ MutexRequest()
MutexRequest constructor.
- Parameters
-
id | id of the requested node |
source | rank of the process from which the request is coming |
type | request type |
◆ operator==()
bool fpmas::synchro::hard::api::MutexRequest::operator== |
( |
const MutexRequest & |
other | ) |
const |
|
inline |
Checks equality between two MutexRequests.
Two MutexRequests are equals if and only if they have the same type
, id
and source
.
- Parameters
-
- Returns
- true iff other is equal to this
◆ LOCAL
const int fpmas::synchro::hard::api::MutexRequest::LOCAL = -1 |
|
static |
Special source value used to indicate that the request is coming from the local process.
◆ id
Id of the requested node.
◆ source
int fpmas::synchro::hard::api::MutexRequest::source |
Rank of the process from which the request is coming.
◆ type
The documentation for this struct was generated from the following files:
- src/fpmas/synchro/hard/api/client_server.h
- src/fpmas/synchro/hard/api/client_server.cpp