1#ifndef FPMAS_GLOBAL_GHOST_MODE_H
2#define FPMAS_GLOBAL_GHOST_MODE_H
11namespace fpmas {
namespace synchro {
41 aux = std::move(this->
data());
42 this->
data() = std::move(ghost_data);
46 this->ghost_data = std::move(this->
data());
47 this->
data() = std::move(aux);
56 this->ghost_data = this->
data();
Definition: ghost_mode.h:450
Definition: global_ghost_mode.h:22
void releaseRead() override
Definition: global_ghost_mode.h:45
const T & read() override
Definition: global_ghost_mode.h:40
void releaseAcquire() override
Definition: global_ghost_mode.h:52
void synchronize() override
Definition: global_ghost_mode.h:55
T & acquire() override
Definition: global_ghost_mode.h:49
GlobalGhostMutex(T &data)
Definition: global_ghost_mode.h:36
Definition: single_thread_mutex.h:17
T & data() override
Definition: single_thread_mutex.h:33