#include "../include/RamLock.h" namespace environnement { namespace ramlock { // return the value of the lock and take this bool RamLock::read (uint32_t num_lock) { bool val = _lock [num_lock]; _lock [num_lock] = LOCK; return val; } }; };