diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2021-08-04 15:33:04 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2021-08-07 14:18:29 +0200 |
commit | f6d1de553dc70b76c39439ff0e74567d50fbb6c0 (patch) | |
tree | 7a7998ac44cfc3cb4e338248b989fcbff92d3a03 /src/common/Thread.h | |
parent | common/async: drop noexcept on io_context_pool threadfunc (diff) | |
download | ceph-f6d1de553dc70b76c39439ff0e74567d50fbb6c0.tar.xz ceph-f6d1de553dc70b76c39439ff0e74567d50fbb6c0.zip |
Revert "common/Thread: make _entry_func noexcept"
This reverts commit 41142c93a727ed0be73178271169bd0a5cdbe206.
With g++ 8 noexcept here does more harm than good. See the previous
patch for details.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'src/common/Thread.h')
-rw-r--r-- | src/common/Thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Thread.h b/src/common/Thread.h index 396e167a884..5242fb5f307 100644 --- a/src/common/Thread.h +++ b/src/common/Thread.h @@ -48,7 +48,7 @@ class Thread { virtual void *entry() = 0; private: - static void *_entry_func(void *arg) noexcept; + static void *_entry_func(void *arg); public: const pthread_t &get_thread_id() const; |