Zero  0.1.0
Classes | Variables
tatas.h File Reference
#include "AtomicCounter.hpp"
#include "w_defines.h"

Go to the source code of this file.

Classes

struct  tatas_lock
 A test-and-test-and-set spinlock. More...
 
class  tataslock_critical_section
 

Variables

const size_t CACHELINE_TATAS_PADDING = CACHELINE_SIZE - sizeof(tatas_lock)
 

Variable Documentation

§ CACHELINE_TATAS_PADDING

const size_t CACHELINE_TATAS_PADDING = CACHELINE_SIZE - sizeof(tatas_lock)

Used to keep tatas_lock in its own cacheline.