The presence of this class makes code-sharing easier with OPUP. In addition, the resources that have to be protected with mutexes are visible, so if you find yourself in a threaded environment, replace DoNothingThreadMutex with OPUP's ThreadMutex.
Public Member Functions | |
void | secure () |
void | release () |
void | lock () |
void | unlock () |
void code::DoNothingThreadMutex::lock | ( | ) | [inline] |
void code::DoNothingThreadMutex::release | ( | ) | [inline] |
void code::DoNothingThreadMutex::secure | ( | ) | [inline] |
void code::DoNothingThreadMutex::unlock | ( | ) | [inline] |