Skip to content

Commit

Permalink
api: timer: clean up odp_timer_pool_param_t.num_timers description
Browse files Browse the repository at this point in the history
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 <jere.leppanen@nokia.com>
  • Loading branch information
JereLeppanen committed Aug 28, 2023
1 parent 75b3528 commit 2591ee2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/odp/api/spec/timer_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2591ee2

Please sign in to comment.