#include <thread.h>
Inheritance diagram for MutexCounter:

Public Member Functions | |
| MutexCounter () | |
| MutexCounter (int initial) | |
| friend | CCXX_EXPORT (int) operator++(MutexCounter &mc) |
| friend | CCXX_EXPORT (int) operator--(MutexCounter &mc) |
A Mutex is used to protect access to the counter variable (an integer). An initial value can be specified for the counter, and it can be manipulated with the ++ and -- operators.
|
|
|
|
|
|
|
|
|
|
|
|
1.3.3