From 2591ee2311df0967eb0832d7658b2ab48e9ae217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jere=20Lepp=C3=A4nen?= Date: Mon, 28 Aug 2023 14:01:46 +0300 Subject: [PATCH] api: timer: clean up odp_timer_pool_param_t.num_timers description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove the limitation on application. This change implies that application may attempt to allocate more timers than there are in a timer pool. In that case, odp_timer_alloc() returns ODP_TIMER_INVALID. Signed-off-by: Jere Leppänen --- include/odp/api/spec/timer_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/odp/api/spec/timer_types.h b/include/odp/api/spec/timer_types.h index f1e1993523a..c3eac4f644c 100644 --- a/include/odp/api/spec/timer_types.h +++ b/include/odp/api/spec/timer_types.h @@ -389,8 +389,7 @@ typedef struct { } periodic; - /** Number of timers needed. Application will create in maximum this - * many concurrent timers from the timer pool. */ + /** Number of timers in the pool. */ uint32_t num_timers; /** Thread private timer pool. When zero, multiple thread may use the