mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 23:14:13 +01:00
ircd::ctx::ole: Add missing pthread unhooker in offload spawner.
This commit is contained in:
parent
2838d2c745
commit
a5565bfdf9
1 changed files with 2 additions and 0 deletions
|
@ -138,6 +138,8 @@ ircd::ctx::ole::push(offload::function &&func)
|
|||
if(unlikely(add_thread))
|
||||
{
|
||||
++working; // pre-increment under lock here
|
||||
|
||||
const posix::enable_pthread enable_pthread;
|
||||
threads.emplace_back(&worker);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue