![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
#include <atomic>
Go to the source code of this file.
Classes | |
class | SMP::Mutex |
Class used to protect data shared with different threads. More... | |
class | SMP::Lock |
Class used to handle Mutex. More... | |
Namespaces | |
SMP | |
A Symmetric multiprocessing implementation. | |
Macros | |
#define | LOCK(mutex, lock) SMP::Lock lock((mutex)) |
Functions | |
int | SMP::get_num_cpus () |
Returns the number of hardware thread contexts. This value is supposed to be equals to the number of cores of the machine. More... | |
#define LOCK | ( | mutex, | |
lock | |||
) | SMP::Lock lock((mutex)) |