-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Thread: remove methods deprecated in 5.10 #12142
Conversation
@kjbracey-arm, thank you for your changes. |
@bulislaw could you take a look please. |
CI started |
Test run: FAILEDSummary: 4 of 4 test jobs failed Failed test jobs:
|
@kjbracey-arm could you take a look at the ci failures please |
@kjbracey-arm bump..... |
Fixed unit test and rtos signals test. |
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
Failures look related, please review |
PR created to fix driver used in example: ARMmbed/stm-spirit1-rf-driver#10 |
@0xc0170 Only failure I could see was that spirit driver - let me know if you saw anything else. |
Looks like the dependent PR has been merged so we can progress this again. |
CI started |
Test run: FAILEDSummary: 3 of 4 test jobs failed Failed test jobs:
|
New fix PR required: ARMmbed/stm-spirit1-rf-driver#11 |
Beyond that, that's a fix to a driver sub-repo that's referred to by nanostack-border-router. The test hadn't picked up PR 10, so presumably I will need to update the lib file in nanostack-border-router. (What are the branching rules for example updates atm?) |
Mmm that is something that needs revisiting in preparation for 6.0 , as we are now releasing off Master for mbed-os it would make sense to go back to releasing off master for examples too. Also note that we are not updating examples for any of the 6.0 pre-releases..... |
That Spirit driver fix merged - still need to determine what to do with nanostack-border-router. I'm seeing other "example build failed" errors in the CI, but not managed to track them down in the logs, or reproduce them locally. Could they be just "give up after first failure on nanostack-border-router"? |
Border router PR: PelionIoT/nanostack-border-router#204 |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Summary of changes
Remove various
Thread
methods that were deprecated in Mbed OS 5.10Impact of changes
Code using the old methods will no longer compile
Migration actions required
Uses of the following removed
Thread
methods need to be replaced:Thread::signal_set
->Thread::flags_set
Thread::signal_clr
->ThisThread::flags_clear
Thread::signal_wait
->ThisThread::flags_wait_xxx
Thread::wait
->ThisThread::sleep_for
Thread::wait_until
->ThisThread::sleep_until
Thread::yield
->ThisThread::yield
Thread::gettid
->Thread::get_id
orThisThread::get_id
Thread::attach_idle_hook
->Kernel::attach_idle_hook
Thread::attach_terminate_hook
->Kernel::attach_thread_terminate_hook
Documentation
None.
Pull request type
Test results
Reviewers