From b083edccd3079bef6c4aeb78bc88bc75f0d27d9a Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 25 Feb 2020 15:57:57 +0300 Subject: [PATCH] Threads: remove some unused code (remnants from thread spawn) --- Utilities/Thread.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Utilities/Thread.h b/Utilities/Thread.h index 380d48321b..3fc2fc3260 100644 --- a/Utilities/Thread.h +++ b/Utilities/Thread.h @@ -373,15 +373,6 @@ class named_thread final : public Context, result_storage_t, thread_bas } } - // Detached thread constructor - named_thread(thread_state s, std::string_view name, Context&& f) - : Context(std::forward(f)) - , thread(name) - { - thread::m_state.raw() = s; - thread::start(&named_thread::entry_point); - } - friend class thread_ctrl; public: