hujun260 commented on PR #17468:
URL: https://github.com/apache/nuttx/pull/17468#issuecomment-3830234359

   > I won't let this submission be merged:
   > 
   > 1. code size will increase.
   > 2. performance will degrade.
   
   However, currently, using nxsched_get_tcb cannot guarantee safety even 
within critical sections, which is more critical than other factors. 
Furthermore, this patch reduces the scope of critical sections, thereby 
improving system real-time performance. As for the code size, it remains 
acceptable because the added safety justifies the increase.


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