From f0fe13e8e58fefb5ca97d888690a783b01843dab Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 1 May 2021 17:10:09 -0700 Subject: [PATCH] ircd::ctx::ole: Split missing worker_remove() definition; enable pthread for seq. --- ircd/ctx_ole.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ircd/ctx_ole.cc b/ircd/ctx_ole.cc index bd2a500ec..9135a3341 100644 --- a/ircd/ctx_ole.cc +++ b/ircd/ctx_ole.cc @@ -23,7 +23,7 @@ namespace ircd::ctx::ole static offload::function pop(); static void push(offload::function &&); - static void worker_remove() noexcept; + static void worker_remove(); static void worker() noexcept; } @@ -170,6 +170,12 @@ noexcept continue; } + worker_remove(); +} + +void +ircd::ctx::ole::worker_remove() +{ const std::lock_guard lock { mutex