0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

ircd::resource::method: Disable interruption while waiting for idle.

This commit is contained in:
Jason Volk 2020-12-15 14:39:32 -08:00
parent 68af933ff7
commit c0892e79f4

View file

@ -423,6 +423,7 @@ noexcept
stats->pending
};
const ctx::uninterruptible::nothrow ui;
idle_dock.wait([this]
{
return !stats || stats->pending == 0;