mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 00:34:18 +01:00
ircd::db: Implement WaitForJoin() to wait on all ctx pool joins.
This commit is contained in:
parent
d01430e64a
commit
824e3305a4
1 changed files with 3 additions and 1 deletions
|
@ -2410,7 +2410,9 @@ noexcept
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return defaults.WaitForJoin();
|
assert(st);
|
||||||
|
for(auto &pool : st->pool)
|
||||||
|
pool.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int
|
unsigned int
|
||||||
|
|
Loading…
Reference in a new issue