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/04/05 16:55:12 UTC

[GitHub] [incubator-nuttx] v01d opened a new issue #3353: WORK QUEUE DELAY INACCURACIES

v01d opened a new issue #3353:
URL: https://github.com/apache/incubator-nuttx/issues/3353


   ```
     Description: Each queued work may have an optional delay value associated
                  with it.  That delay should be respect to the time that the
                  work is queued.  However, since we do not know the time the
                  work is queue, the actual delay will be respect to the time
                  that the work is processed.  Under certain conditions, the
                  work may sit in the queue for some time before it is
                  processed, leading to an inaccuracy in the delay.
   
                  One solution might involved saving the time when in the work
                  structure when the work is queued.  Then the delay logic can
                  take the difference between the processing time and the
                  queued time to get a more accurate delay.
     Status:      Open
     Priority:    In all known use cased, the priority is low.  A problem is
                  would only occur if the work queue is overload or if work in
                  the work queue suspends waiting for a resource (both of which
                  are much bigger problems).
   ```


-- 
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