v01d edited a comment 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#c.pm_changestate


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


Reply via email to