anchao commented on PR #17468: URL: https://github.com/apache/nuttx/pull/17468#issuecomment-3832575560
> > 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. Zephyr is no more safety either. If your proposal can be applied to any other RTOS, I will approve this submission. -- 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]
