You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "kasjer (via GitHub)" <gi...@apache.org> on 2025/03/21 09:25:49 UTC
[PR] kernel/os: Reduce mutex code for bootloader [mynewt-core]
kasjer opened a new pull request, #3392:
URL: https://github.com/apache/mynewt-core/pull/3392
os_mutex can be build in bootloader code (OS_SCHEDULING == 0) Mutex code checks at runtime value of g_os_started. For bootloader this will never be set to 1 but mutex code will force inclusion of task related code and data that will never be used.
This adds simple conditions at the beginning of mutex functions, condition is always false for bootloader build and compiler will remove all mutex code.
--
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: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] kernel/os: Reduce mutex code for bootloader [mynewt-core]
Posted by "kasjer (via GitHub)" <gi...@apache.org>.
kasjer merged PR #3392:
URL: https://github.com/apache/mynewt-core/pull/3392
--
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: notifications-unsubscribe@mynewt.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org