nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nuttx] patacongo commented on issue #802: Locking case in SMP mode
Date Mon, 20 Apr 2020 23:13:41 GMT

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:
users@infra.apache.org



Mime
View raw message