Page Speed Optimization Libraries
1.2.24.1
|
#include "null_mutex.h"
Public Member Functions | |
virtual bool | TryLock () |
Attempt to take mutex, true on success, false if held by another thread. | |
virtual void | Lock () |
Block until mutex is available, then take the mutex. | |
virtual void | Unlock () |
Release the mutex, permitting a blocked lock operation (if any) to proceed. |
Implements an empty mutex for single-threaded programs that need to work with interfaces that require mutexes.