-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove Mutex deprecated API #12596
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
Remove Mutex deprecated API #12596
Conversation
CI started |
As a follow-up, could you also remove the return value from |
Test run: SUCCESSSummary: 7 of 7 test jobs passed |
Let's mark the function with the return value as deprecated for the upcoming release this week and we will remove the deprecated function next month. |
It's been as deprecated as it can be since 5.9 or so (just documentation). You can't actually generate a deprecation warning, as we're not removing the function, just eliminating its return value. :( There are compiler attributes like |
Okay. So let's remove the return value as you suggest in a different PR. |
@kjbracey-arm Do we need to remove the return value from unlock? |
Yes, |
Summary of changes
Removed Mutex deprecated API.
Impact of changes
Breaking change: Mutex
lock(uint32_t millisec)
method have been deprecated since Mbed OS 5.10 and its removed now.Migration actions required
Use Mutex
lock
,trylock
,trylock_for
methods.Documentation
None
Pull request type
Test results
Reviewers
@evedon