mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 02:02:38 +01:00
ircd::ctx::ole: Split missing worker_remove() definition; enable pthread for seq.
This commit is contained in:
parent
498265c5f0
commit
f0fe13e8e5
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue