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