IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
SMP Namespace Reference

A Symmetric multiprocessing implementation. More...

Classes

class  Lock
 Class used to handle Mutex. More...
 
class  Mutex
 Class used to protect data shared with different threads. More...
 

Functions

int 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...
 

Detailed Description

A Symmetric multiprocessing implementation.

Function Documentation

◆ get_num_cpus()

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.

Returns
The number of hardware thread contexts