pussuw commented on PR #7966:
URL: https://github.com/apache/nuttx/pull/7966#issuecomment-1385294661

   > So, we have to forbid the task switch between up_addrenv_select and 
up_addrenv_restore?
   
   It is not enough, the logic / implementation of group_addrenv() is 
incomplete. Even running an IRQ between those will cause a crash.
   
   Also, if the code uses semaphores between up_addrenv_select and 
up_addrenv_restore won't this cause a deadlock ?


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