Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
condvar.h
Go to the documentation of this file.
1 // Copyright 2011 Google Inc.
16 
17 #ifndef PAGESPEED_KERNEL_BASE_CONDVAR_H_
18 #define PAGESPEED_KERNEL_BASE_CONDVAR_H_
19 
22 
23 namespace net_instaweb {
24 
28  public:
29  Condvar() { }
30  virtual ~Condvar();
31 
33  virtual CondvarCapableMutex* mutex() const = 0;
34 
42  virtual void Signal() = 0;
43 
46  virtual void Broadcast() = 0;
47 
60  virtual void Wait() = 0;
61 
64  virtual void TimedWait(int64 timeout_ms) = 0;
65 
66  private:
67 
68 };
69 
70 }
71 
72 #endif
Definition: condvar.h:27
virtual void TimedWait(int64 timeout_ms)=0
virtual CondvarCapableMutex * mutex() const =0
Return the mutex associated with this condition variable.