]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/asio/detail/scheduler.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / asio / detail / scheduler.hpp
index fe6c9a8148d5649b8e76c9c636aaa8d8dc9c6982..a71279bc754869219c9a7cba47ae1a57126b4d7e 100644 (file)
@@ -105,11 +105,19 @@ public:
     return thread_call_stack::contains(this) != 0;
   }
 
+  /// Capture the current exception so it can be rethrown from a run function.
+  BOOST_ASIO_DECL void capture_current_exception();
+
   // Request invocation of the given operation and return immediately. Assumes
   // that work_started() has not yet been called for the operation.
   BOOST_ASIO_DECL void post_immediate_completion(
       operation* op, bool is_continuation);
 
+  // Request invocation of the given operations and return immediately. Assumes
+  // that work_started() has not yet been called for the operations.
+  BOOST_ASIO_DECL void post_immediate_completions(std::size_t n,
+      op_queue<operation>& ops, bool is_continuation);
+
   // Request invocation of the given operation and return immediately. Assumes
   // that work_started() was previously called for the operation.
   BOOST_ASIO_DECL void post_deferred_completion(operation* op);