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

#include "null_mutex.h"

Inheritance diagram for net_instaweb::NullMutex:

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 ()

Detailed Description

Implements an empty mutex for single-threaded programs that need to work with interfaces that require mutexes.

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