]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/common/async/context_pool.h
import quincy beta 17.1.0
[ceph.git] / ceph / src / common / async / context_pool.h
index 992b3eccb0a35c9b33857610741fa30a92881ddb..9c6cab7677db4504efd8ec3292da172336009ea2 100644 (file)
@@ -58,13 +58,8 @@ public:
       guard.emplace(boost::asio::make_work_guard(ioctx));
       ioctx.restart();
       for (std::int16_t i = 0; i < threadcnt; ++i) {
-       // Mark this function as noexcept so any uncaught exceptions
-       // call terminate at point of throw. Otherwise, under
-       // libstdc++, they get caught by the thread cancellation
-       // infrastructure, unwinding the stack and making debugging
-       // much more difficult.
        threadvec.emplace_back(make_named_thread("io_context_pool",
-                                                [this]() noexcept {
+                                                [this]() {
                                                   ioctx.run();
                                                 }));
       }