SChina-CSC-SDD-Dev commented on pull request #2625: URL: https://github.com/apache/incubator-nuttx/pull/2625#issuecomment-768100795
We will propose the three below solutions as above suggestion. - Solution One We will create a new API like nxsched_process_timer_ext(ticks) called by HW platform. When resuming, HW platform will update ticks about shed, systime and sporadic etc separately through this API. And this API will update ticks through these corresponding module API. If the called module API not found, we will create the new module API to update ticks. If this solution can be acceptable and merged into mainline without other issues, we will follow this solution. - Solution Two Similar with solution One, we will create a new API like nxched_process_timer_ext(ticks) but called by nxched_process_timer(). But it seems overlying. - Solution Three We will create the mechanism. When the related module will update ticks by itself when the event has been triggered. ---------------------------------------------------------------- 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: us...@infra.apache.org