You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/06/19 01:29:19 UTC

[GitHub] [incubator-nuttx-apps] patacongo edited a comment on pull request #784: examples: Adds Timer gpout example

patacongo edited a comment on pull request #784:
URL: https://github.com/apache/incubator-nuttx-apps/pull/784#issuecomment-864336869


   The driver really should handle multiple clients like all other drivers.  That should be a requirement of all drivers so I would personally consider that limitation a bug.
   
   For a single timer, this would be handled by keeping a list of relative timer delays.  This is done, for example, for the wdog dog timers.  See https://github.com/apache/incubator-nuttx/blob/master/sched/wdog/wd_start.c#L226 . The wdog timers can handle an unlimited number of clients with a single timer and with NO additional overhead (at least after the relative delay is calculated).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org