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

Implementation of ThreadSystem::CondvarCapableMutexMutex for Pthread mutexes. More...

#include "pthread_mutex.h"

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

Friends

class PthreadCondvar
 

Detailed Description

Implementation of ThreadSystem::CondvarCapableMutexMutex for Pthread mutexes.


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