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