Skip to content

Comments

create mutex before calling _ux_utility_memory_allocate#252

Open
lsoest wants to merge 1 commit intoeclipse-threadx:devfrom
BerninaInternationalAG:create_mutex_before_memory_allocation
Open

create mutex before calling _ux_utility_memory_allocate#252
lsoest wants to merge 1 commit intoeclipse-threadx:devfrom
BerninaInternationalAG:create_mutex_before_memory_allocation

Conversation

@lsoest
Copy link

@lsoest lsoest commented Feb 16, 2026

When compiling with UX_ENABLE_DEBUG_LOG the call to _ux_utility_memory_allocate requires the system mutex.
So the mutex needs to be created before allocating memory for the debug log.

When compiling with UX_ENABLE_DEBUG_LOG the call to
_ux_utility_memory_allocate requires the system mutex.
@fdesbiens fdesbiens requested a review from rahmanih February 17, 2026 16:09
@fdesbiens
Copy link
Contributor

Thank you for this contribution @lsoest.

@rahmanih: The change makes sense to me but please review just in case.

@fdesbiens fdesbiens moved this to In review in ThreadX Roadmap Feb 17, 2026
@fdesbiens fdesbiens assigned rahmanih and unassigned rahmanih Feb 17, 2026
Copy link
Contributor

@rahmanih rahmanih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@rahmanih
Copy link
Contributor

@lsoest
could you please change the merge branch to the "dev" rather than "master"
thanks.

@fdesbiens fdesbiens changed the base branch from master to dev February 20, 2026 16:42
@fdesbiens
Copy link
Contributor

I changed the target branch, @rahmanih and @lsoest.

So, if there is nothing else, I can merge this if you want @rahmanih.

@rahmanih
Copy link
Contributor

Yes please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants