1#ifndef FPMAS_GLOBAL_GHOST_MODE_H
2#define FPMAS_GLOBAL_GHOST_MODE_H
7namespace fpmas {
namespace synchro {
37 aux = std::move(this->
data());
38 this->
data() = std::move(ghost_data);
42 this->ghost_data = std::move(this->
data());
43 this->
data() = std::move(aux);
52 this->ghost_data = this->
data();
Definition: ghost_mode.h:449
Definition: global_ghost_mode.h:18
void releaseRead() override
Definition: global_ghost_mode.h:41
const T & read() override
Definition: global_ghost_mode.h:36
void releaseAcquire() override
Definition: global_ghost_mode.h:48
void synchronize() override
Definition: global_ghost_mode.h:51
T & acquire() override
Definition: global_ghost_mode.h:45
GlobalGhostMutex(T &data)
Definition: global_ghost_mode.h:32
Definition: single_thread_mutex.h:13
T & data() override
Definition: single_thread_mutex.h:29