From 42ad753e39830f446147c01d348da0b762fdaad9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Nov 2017 21:09:54 +0100 Subject: event/MaskMonitor: migrate from DeferredMonitor to DeferEvent --- src/event/MaskMonitor.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/event/MaskMonitor.cxx') diff --git a/src/event/MaskMonitor.cxx b/src/event/MaskMonitor.cxx index c22ba36e2..d69329b1d 100644 --- a/src/event/MaskMonitor.cxx +++ b/src/event/MaskMonitor.cxx @@ -24,11 +24,11 @@ void MaskMonitor::OrMask(unsigned new_mask) { if (pending_mask.fetch_or(new_mask) == 0) - DeferredMonitor::Schedule(); + defer.Schedule(); } void -MaskMonitor::RunDeferred() +MaskMonitor::RunDeferred() noexcept { const unsigned mask = pending_mask.exchange(0); if (mask != 0) -- cgit v1.2.3