Skip to content

RTX: Fixed RTXv5 mutex owner list handling. #4646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 29, 2017

Conversation

bulislaw
Copy link
Member

The prev-pointer of the running threads mutex list was not set when
multiple mutexes are acquired at a time. This leads to a corrupted list
if the mutexes are not freed in reversed order.

Original commit for CMSIS_5:
commit 729f6ab
Author: Jonatan Antoni [email protected]
Date: Wed Apr 19 15:38:43 2017 +0200

Fix ported from CMSIS_5 repo to address #4630

Status

READY

Close #4630

It's a point fix brought over from CMSIS repo, but we should still think about having some process to update CMSIS in regular intervals (eg each CMSIS patch release?)

@0xc0170 @c1728p9

The prev-pointer of the running threads mutex list was not set when
multiple mutexes are acquired at a time. This leads to a corrupted list
if the mutexes are not freed in reversed order.

Original commit for CMSIS_5:
commit 729f6ab
Author: Jonatan Antoni <[email protected]>
Date:   Wed Apr 19 15:38:43 2017 +0200
@bulislaw bulislaw self-assigned this Jun 27, 2017
@bulislaw
Copy link
Member Author

/morph test

@mbed-bot
Copy link

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 666

Test failed!

@bulislaw
Copy link
Member Author

Failures don't seem related

/morph test

@bulislaw
Copy link
Member Author

restart uvisor

@bulislaw
Copy link
Member Author

retest uvisor

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 675

All builds and test passed!

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

Successfully merging this pull request may close these issues.

RTX: mbed-os-5.5 is missing mutex fix
4 participants