#include "../include/RamLock.h"

namespace environnement {
namespace ramlock {

  // return the value of the lock and untake this
  bool RamLock::write (uint32_t num_lock)
  {
    bool val = _lock [num_lock];
    _lock [num_lock] = UNLOCK;
    
    return val;
  }
};
};
