0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-29 07:18:20 +02:00

ircd::ctx::ole: Split missing worker_remove() definition; enable pthread for seq.

This commit is contained in:
Jason Volk 2021-05-01 17:10:09 -07:00
parent 498265c5f0
commit f0fe13e8e5

View file

@ -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