~ubuntu-branches/ubuntu/precise/ceph/precise-proposed

« back to all changes in this revision

Viewing changes to src/common/Timer.h

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2011-08-28 15:56:16 UTC
  • mfrom: (1.1.4 upstream) (0.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20110828155616-h19o67xdn2sjrh10
Tags: 0.34-1
* New upstream release (closes: #638714).
* Make librbd-dev depends on librados-dev as it uses headers from the latter
  (closes: #636845).
* Add new binary packages, gceph, gceph-dbg and obsync . The libcrush ones
  removed.
* Change to quilt source format and tune packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
#include <map>
22
22
 
 
23
class CephContext;
23
24
class Context;
24
25
class SafeTimerThread;
25
26
 
29
30
  SafeTimer(const SafeTimer &rhs);
30
31
  SafeTimer& operator=(const SafeTimer &rhs);
31
32
 
 
33
  CephContext *cct;
32
34
  Mutex& lock;
33
35
  Cond cond;
34
36
 
45
47
  void dump(const char *caller = 0) const;
46
48
 
47
49
public:
48
 
  SafeTimer(Mutex &l);
 
50
  SafeTimer(CephContext *cct, Mutex &l);
49
51
  ~SafeTimer();
50
52
 
51
53
  /* Call with the event_lock UNLOCKED.