From dc864bad00e916d2a622e99716248ff0ef5c11c5 Mon Sep 17 00:00:00 2001 From: Latent Prion Date: Fri, 24 Oct 2025 16:03:03 -0400 Subject: [PATCH] Todo: update with optimization ideas --- todo | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/todo b/todo index 93bf7b6..f7a1884 100644 --- a/todo +++ b/todo @@ -12,3 +12,8 @@ * In classes like udpCommandDemuxer and possibly other such background tasks, use a spinlock to ensure that the stop() function doesn't deallocate the data to be used by the daemon task while the daemon task is executing. + * Alternatively we could re-emqueue the message; + * Alternatively, if select/poll don't consume the read-data-rdy flag, + we can just return and let the next timer invocation run instead. + * Alternatively, we can use an xchg'd flag between the udp listener + and the timed enforcer.