Commit e286702f authored by Max Kellermann's avatar Max Kellermann

event/Loop: rename AddDeferred() to AddDefer()

parent c58aaf54
......@@ -24,7 +24,7 @@ void
DeferEvent::Schedule() noexcept
{
if (!IsPending())
loop.AddDeferred(*this);
loop.AddDefer(*this);
assert(IsPending());
}
......
......@@ -187,7 +187,7 @@ EventLoop::HandleTimers() noexcept
}
void
EventLoop::AddDeferred(DeferEvent &d) noexcept
EventLoop::AddDefer(DeferEvent &d) noexcept
{
defer.push_back(d);
again = true;
......
......@@ -209,7 +209,7 @@ public:
/**
* Schedule a call to DeferEvent::RunDeferred().
*/
void AddDeferred(DeferEvent &d) noexcept;
void AddDefer(DeferEvent &d) noexcept;
void AddIdle(DeferEvent &e) noexcept;
#ifdef HAVE_THREADED_EVENT_LOOP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment