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/03/23 16:10:34 UTC

[GitHub] [incubator-nuttx] v01d commented on pull request #3155: boardctl: Added BOARDIOC_PM_CHANGESTATE to BOARDIOC_PM_CONTROL

v01d commented on pull request #3155:
URL: https://github.com/apache/incubator-nuttx/pull/3155#issuecomment-805031837


   Sounds reasonable. I only wonder about the safety of this call, considering the following:
   
   > Assumptions: It is assumed that interrupts are disabled when this function is called. This function is probably called from the IDLE loop… the lowest priority task in the system. Changing driver power management states may result in renewed system activity and, as a result, can suspend the IDLE thread before it completes the entire state change unless interrupts are disabled throughout the state change.
   
   
   from https://nuttx.apache.org/docs/latest/components/power.html


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