Skip to content

Conversation

@kilograham
Copy link
Contributor

We don't use a recusrive_mutex as we still want to cause a deadlock if an IRQ attempts a malloc within malloc. Therefore we track the IRQ nesting separately.

@kilograham kilograham added this to the 2.1.0 milestone Nov 20, 2024
@kilograham
Copy link
Contributor Author

fixes #1947

Copy link
Contributor

@peterharperuk peterharperuk left a comment

Choose a reason for hiding this comment

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

Seems to make sense

@kilograham kilograham merged commit 08ea1d8 into develop Nov 21, 2024
8 checks passed
@kilograham kilograham deleted the picolibc_malloc_mutex branch November 21, 2024 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants