#include "roller.cpp"#include "safe_roller.h"#include <basis/function.h>#include <basis/mutex.h>#include <data_struct/static_memory_gremlin.h>Include dependency graph for safe_roller.cpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| void | safe_add (int &to_change, int addition) |
| thread-safe integer addition. | |
| void safe_add | ( | int & | to_change, | |
| int | addition | |||
| ) |
thread-safe integer addition.
the number passed in "addition" is atomically added to the number referenced in "to_change". this allows thread-safe manipulation of a simple number.
Definition at line 27 of file safe_roller.cpp.
1.5.1