Skip to content

Conversation

Saiiijchan
Copy link
Contributor

pxThread->xAttr.usSchedPriorityDetachState may be changed by pthread_detach(). Suspend scheduler to prevent race condition.

Issue #, if available:

Description of changes:

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

pxThread->xAttr.usSchedPriorityDetachState may be changed by
pthread_detach(). Suspend scheduler to prevent race condition.

Signed-off-by: wangfei_chen <[email protected]>
@Saiiijchan Saiiijchan force-pushed the fix_detach_race_condition branch from 2f9ab75 to 436f256 Compare April 3, 2025 09:21
@rohitmadan07 rohitmadan07 merged commit 14ee4b2 into FreeRTOS:main Apr 4, 2025
1 check passed
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.

4 participants