]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/Timer.h
update sources to v12.1.1
[ceph.git] / ceph / src / common / Timer.h
index 078a172b25b187e4b4747f9625e3f84d55ff06f4..861b239ca32e12637f7fa8b1bfc1aa472ce23416 100644 (file)
@@ -70,8 +70,8 @@ public:
 
   /* Schedule an event in the future
    * Call with the event_lock LOCKED */
-  void add_event_after(double seconds, Context *callback);
-  void add_event_at(utime_t when, Context *callback);
+  bool add_event_after(double seconds, Context *callback);
+  bool add_event_at(utime_t when, Context *callback);
 
   /* Cancel an event.
    * Call with the event_lock LOCKED