patacongo commented on issue #802:
URL: https://github.com/apache/incubator-nuttx/issues/802#issuecomment-616858718


   > As you can see, the thread2 running on cpu#1 is in interrupt context.
   > However, as @patacongo pointed out, enter_critical_section() processes as 
if it were in normal tasking environment, because _err() was called before 
setting CURRENT_REGS.
   
   That is not expected to work.  That is a coding error that should result in 
a crash or a hang or other fatal consequence.
   


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