![]() |
The ROme OpTimistic Simulator
2.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
|
#include <atomic.h>
Data Fields | |
volatile unsigned int | lock |
The lock guard. | |
Spinlock definition. This is a structure keeping a volatile unsigned int inside. The structure and the volatile part is required to avoid that the compiler wrongly optimizes some accesses to the count member.