mirror of
https://github.com/matrix-construct/construct
synced 2024-09-30 04:38:52 +02: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 offload::function pop();
|
||||||
static void push(offload::function &&);
|
static void push(offload::function &&);
|
||||||
static void worker_remove() noexcept;
|
static void worker_remove();
|
||||||
static void worker() noexcept;
|
static void worker() noexcept;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -170,6 +170,12 @@ noexcept
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
worker_remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ircd::ctx::ole::worker_remove()
|
||||||
|
{
|
||||||
const std::lock_guard lock
|
const std::lock_guard lock
|
||||||
{
|
{
|
||||||
mutex
|
mutex
|
||||||
|
|
Loading…
Reference in a new issue