![]() |
IAtari
Genetic algorithm generating AI capable to play Atari2600 games.
|
Class used to handle Mutex. More...
#include <SMP.h>
Public Member Functions | |
Lock (Mutex &m) | |
Construct a Lock with a Mutex. More... | |
~Lock () | |
Standard destructor. More... | |
void | lock () |
Try to lock the Mutex. More... | |
void | unlock () |
Unlock the Mutex. More... | |
Private Attributes | |
Mutex * | m_mutex |
Class used to handle Mutex.
SMP::Lock::~Lock | ( | ) |
Standard destructor.
SMP::Lock::lock | ( | ) |
Try to lock the Mutex.
SMP::Lock::unlock | ( | ) |
Unlock the Mutex.
|
private |
The associated mutex