Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::NullMutex Class Reference

#include "null_mutex.h"

Inheritance diagram for net_instaweb::NullMutex:
net_instaweb::AbstractMutex

List of all members.

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.

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines