0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-10 22:18:54 +02: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;