Public Member Functions | |
virtual CondvarCapableMutex * | NewMutex () |
virtual RWLock * | NewRWLock () |
virtual Timer * | NewTimer () |
Creates and returns a real-time timer. Caller is responsible for deleting. | |
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 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.