#include <synchronizer.h>

Protected Member Functions | |
| void | wakeup () |
| void | wakeupAll () |
| bool | tsl (volatile bool &lock) |
| int | inc (volatile int &number) |
| int | dec (volatile int &number) |
| void | sleep () |
Private Types | |
| typedef CircularVector< Thread * > | ThreadVector |
Private Member Functions | |
| void | removeWaintingThreadAndResume () |
Private Attributes | |
| ThreadVector | _waitingThreads |
Definition at line 23 of file synchronizer.h.
| int Synchronizer_Common::dec | ( | volatile int & | number | ) | [inline, protected] |
Atomic decrement operation operations
Definition at line 59 of file synchronizer.h.
| int Synchronizer_Common::inc | ( | volatile int & | number | ) | [inline, protected] |
Atomic increment operation operations
Definition at line 54 of file synchronizer.h.
| void Synchronizer_Common::removeWaintingThreadAndResume | ( | ) | [inline, private] |
Removes a Thread from the waiting CircularVector and then resumes it
Definition at line 79 of file synchronizer.h.
| void Synchronizer_Common::sleep | ( | ) | [inline, protected] |
| bool Synchronizer_Common::tsl | ( | volatile bool & | lock | ) | [inline, protected] |
Atomic lock operation operations
Definition at line 49 of file synchronizer.h.
| void Synchronizer_Common::wakeup | ( | ) | [inline, protected] |
Wake up single waiting Thread
Definition at line 30 of file synchronizer.h.
| void Synchronizer_Common::wakeupAll | ( | ) | [inline, protected] |
Wakes up all waiting Thread
Definition at line 39 of file synchronizer.h.
1.5.8