Skip to content

Delaying message id random initialization to later stage. #11484

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
Sep 16, 2019

Conversation

yogpan01
Copy link
Contributor

Description

Random initialization sequence is causing start up issues in multiple platform
when done at construction phase.
The right thing is to delay the random initialization to later stage when the
message id is actually required. This provides system to do all necessary allocation
upfront without causing any random race condition at startup phase.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Random initialization sequence is causing start up issues in multiple platform
when done at construction phase.
The right thing is to delay the random initialization to later stage when the
message id is actually required. This provides system to do all necessary allocation
upfront without causing any random race condition at startup phase.
@yogpan01
Copy link
Contributor Author

@0xc0170 This will be required for mbed-os-5.14 for wider WiSun-PDMC integraton.
We should aim to make it to 5.14 release.
@TuomoHautamaki FYI

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 13, 2019

cc @adbridge

@0xc0170
Copy link
Contributor

0xc0170 commented Sep 13, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Sep 13, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit d0686fd into ARMmbed:master Sep 16, 2019
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.

4 participants