Fix-Point commented on issue #17567:
URL: https://github.com/apache/nuttx/issues/17567#issuecomment-3673989433

   > I provided `hrtimer_cancel_sync `api, you need to call 
`hrtimer_cancel_sync`
   
   I mentioned it:
   
   > The third approach: `hrtimer_cancel_sync` → `hrtimer_start`. This 
succeeded, but it calls sleep within the critical section, which is 
unacceptable.
   
   You mean we can sleep in the spin-lock critical-section?
   My suggestion is that you would better carefully review your state-machine 
design and refactor it.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to