Skip to content

Add comment explaining HolderFromISR/SMP TOCTOU - #1486

Open
Bryght-Labs-Richard wants to merge 1 commit into
FreeRTOS:mainfrom
Bryght-Labs-Richard:smpHolderNote
Open

Add comment explaining HolderFromISR/SMP TOCTOU#1486
Bryght-Labs-Richard wants to merge 1 commit into
FreeRTOS:mainfrom
Bryght-Labs-Richard:smpHolderNote

Conversation

@Bryght-Labs-Richard

Copy link
Copy Markdown

Description

On SMP systems, xSemaphoreGetMutexHolderFromISR() is particularly difficult to use . Add a comment to note this footgun.

Test Steps

No testing needed, just a doc update.

Checklist:

  • [N/A] I have tested my changes. No regression in existing tests.
  • [N/A] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

Originally noticed at espressif/esp-idf#18913

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

On SMP systems, xSemaphoreGetMutexHolderFromISR()
is particularly difficult to use - note the footgun.

See also espressif/esp-idf#18913
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

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.

1 participant