Page Speed Optimization Libraries
1.5.27.2
|
Public Member Functions | |
virtual CondvarCapableMutex * | NewMutex () |
virtual RWLock * | NewRWLock () |
virtual Timer * | NewTimer () |
virtual ThreadId * | GetThreadId () const |
Protected Member Functions | |
virtual void | BeforeThreadRunHook () |
Friends | |
class | PthreadThreadImpl |
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 ThreadId* net_instaweb::PthreadThreadSystem::GetThreadId | ( | ) | const [virtual] |
Returns an object holding the current thread ID. The resultant object must be freed by the caller.
Implements net_instaweb::ThreadSystem.
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 -
Implements net_instaweb::ThreadSystem.
virtual Timer* net_instaweb::PthreadThreadSystem::NewTimer | ( | ) | [virtual] |
Creates and returns a real-time timer. Caller is responsible for deleting.
Implements net_instaweb::ThreadSystem.
Reimplemented in net_instaweb::ApacheThreadSystem.