net_instaweb::PthreadThreadSystem Class Reference

Inheritance diagram for net_instaweb::PthreadThreadSystem:
net_instaweb::ThreadSystem net_instaweb::ApacheThreadSystem

List of all members.

Public Member Functions

virtual CondvarCapableMutexNewMutex ()
virtual RWLockNewRWLock ()
virtual TimerNewTimer ()
 Creates and returns a real-time timer. Caller is responsible for deleting.

Protected Member Functions

virtual void BeforeThreadRunHook ()

Friends

class PthreadThreadImpl

Member Function Documentation

virtual void net_instaweb::PthreadThreadSystem::BeforeThreadRunHook (  )  [protected, virtual]

This hook will get invoked by the implementation in the context of a thread before invoking its Run() method.

Reimplemented in net_instaweb::ApacheThreadSystem.

virtual CondvarCapableMutex* net_instaweb::PthreadThreadSystem::NewMutex (  )  [virtual]

Makes a new mutex for this system.

See also CondvarCapableMutex::NewCondvar.

Implements net_instaweb::ThreadSystem.

virtual RWLock* net_instaweb::PthreadThreadSystem::NewRWLock (  )  [virtual]

This lock will provide following guarantee -

  • Reader reentrant safe.
  • Writer Priority, this ensures no writer starvation.

Implements net_instaweb::ThreadSystem.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:34:14 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3