Skip to content

LoRAWAN: volatile bool -> atomic_flag #9245

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

Conversation

kjbracey
Copy link
Contributor

@kjbracey kjbracey commented Jan 3, 2019

Description

Now we have a proper atomic flag API, use it rather than a volatile cheat.

More in my "eliminate volatile" quest.

Pull request type

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

@ciarmcom ciarmcom requested review from a team January 3, 2019 16:00
@ciarmcom
Copy link
Member

ciarmcom commented Jan 3, 2019

@kjbracey-arm, thank you for your changes.
@ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

Copy link
Contributor

@hasnainvirk hasnainvirk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one.

@cmonr
Copy link
Contributor

cmonr commented Jan 3, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 3, 2019

Test run: FAILED

Summary: 1 of 1 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_unittests

@cmonr
Copy link
Contributor

cmonr commented Jan 3, 2019

@kjbracey-arm Please take a look at the unit tests. They were not happy...

@kjbracey kjbracey force-pushed the lorawan_atomic_flag branch from cd7f888 to 9f26ab9 Compare January 4, 2019 08:17
@kjbracey
Copy link
Contributor Author

Tests hopefully cleared.

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 14, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 14, 2019

Test run: FAILED

Summary: 1 of 1 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_unittests

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 14, 2019

Looks like unittest failure does not propagate results to artifacts, will report this as an issue

For the errors, still reports undefined references

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 14, 2019

Note, created internal ticket MBEDOSTEST-427 for unittests being in artifacts if fail

Now we have a proper atomic flag API, use it rather than a volatile
cheat.
@kjbracey kjbracey force-pushed the lorawan_atomic_flag branch from 9f26ab9 to 6f757a5 Compare January 14, 2019 10:00
@kjbracey
Copy link
Contributor Author

Try again...

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 14, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Jan 14, 2019

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 3
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_greentea-test

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 15, 2019

Test restarted (CI script failure)

@0xc0170 0xc0170 merged commit 51a8c39 into ARMmbed:master Jan 16, 2019
hasnainvirk pushed a commit to hasnainvirk/mbed-os that referenced this pull request Feb 5, 2019
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit to AnttiKauppila/mbed-os that referenced this pull request May 8, 2019
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit to AnttiKauppila/mbed-os that referenced this pull request Aug 30, 2019
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit to AnttiKauppila/mbed-os that referenced this pull request Sep 2, 2019
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit to AnttiKauppila/mbed-os that referenced this pull request Oct 29, 2019
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit that referenced this pull request Oct 30, 2019
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit to AnttiKauppila/mbed-os that referenced this pull request Jan 9, 2020
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit that referenced this pull request Jan 9, 2020
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
AnttiKauppila pushed a commit that referenced this pull request Feb 6, 2020
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
slothdnk pushed a commit to slothdnk/mbed-os that referenced this pull request Sep 12, 2020
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
Lljiro pushed a commit to Lljiro/mbed-os that referenced this pull request Mar 17, 2021
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
paul-szczepanek-arm pushed a commit to paul-szczepanek-arm/mbed-os that referenced this pull request Jun 25, 2021
_rx_ready boolean is not used anymore. We set/unset it using core util
atomic flag set test.
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.

7 participants