Page Speed Optimization Libraries  1.5.27.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Friends
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

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.
virtual ThreadSystem::CondvarNewCondvar ()
 Creates a new condition variable associated with 'this' mutex.

Friends

class PthreadCondvar

Detailed Description

Implementation of ThreadSystem::CondvarCapableMutexMutex for Pthread mutexes.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines