0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-27 11:18:51 +02:00

ircd::ctx::ole: Add missing pthread unhooker in offload spawner.

This commit is contained in:
Jason Volk 2021-04-09 15:32:09 -07:00
parent 2838d2c745
commit a5565bfdf9

View file

@ -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);
}