Page Speed Optimization Libraries
1.13.35.1
|
#include "null_thread_system.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. | |
virtual NullCondvar * | NewCondvar () |
Creates a new condition variable associated with 'this' mutex. | |
Public Member Functions inherited from net_instaweb::AbstractMutex | |
virtual void | DCheckLocked () |
virtual void | DCheckUnlocked () |
Mock condvar-capable mutex. Note that this does no actual locking, and any condvars it creates are mocks.