Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
net_instaweb::NullCondvarCapableMutex Class Reference

#include "null_thread_system.h"

Inheritance diagram for net_instaweb::NullCondvarCapableMutex:
net_instaweb::ThreadSystem::CondvarCapableMutex net_instaweb::AbstractMutex

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 NullCondvarNewCondvar ()
 Creates a new condition variable associated with 'this' mutex.
 
- Public Member Functions inherited from net_instaweb::AbstractMutex
virtual void DCheckLocked ()
 
virtual void DCheckUnlocked ()
 

Detailed Description

Mock condvar-capable mutex. Note that this does no actual locking, and any condvars it creates are mocks.


The documentation for this class was generated from the following file: