From 9383ceac3072476d531517bfe0b1b26c9dbd1ed7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 10 Nov 2023 12:28:09 +0100 Subject: [PATCH] event/{Coarse,Fine}TimerEvent: add API docs --- src/event/CoarseTimerEvent.hxx | 3 +++ src/event/FineTimerEvent.hxx | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/event/CoarseTimerEvent.hxx b/src/event/CoarseTimerEvent.hxx index c7915b3eb..200f0ed02 100644 --- a/src/event/CoarseTimerEvent.hxx +++ b/src/event/CoarseTimerEvent.hxx @@ -51,6 +51,9 @@ public: return due; } + /** + * Was this timer scheduled? + */ bool IsPending() const noexcept { return is_linked(); } diff --git a/src/event/FineTimerEvent.hxx b/src/event/FineTimerEvent.hxx index f3fbe091b..bd30c6cb5 100644 --- a/src/event/FineTimerEvent.hxx +++ b/src/event/FineTimerEvent.hxx @@ -62,6 +62,9 @@ public: return due; } + /** + * Was this timer scheduled? + */ bool IsPending() const noexcept { return is_linked(); }