-
Notifications
You must be signed in to change notification settings - Fork 3k
InternetSocket: use atomics, not volatile #9248
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
Conversation
@kjbracey-arm, thank you for your changes. |
de9153b
to
2fcfe7c
Compare
Adjusted to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build failures because of missing ,
in constructor.
Looks good to me 👍
CI started |
Whoops, jumped the gun. @kjbracey-arm Please take a look at the Travis CI failures. |
2fcfe7c
to
909260d
Compare
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
909260d
to
4bfc874
Compare
CI started |
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
Unittest failures, please review |
4bfc874
to
7776315
Compare
9408b45
to
9829076
Compare
Missed |
CI restarted |
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
cdcb274
to
806bfde
Compare
NOTE: This PR has now been rebased. If this was made in error, feel free to force-push your local branch to restore the PR. |
806bfde
to
a8cc461
Compare
@kegilbert Could you help verify if the docy-spellcheck errors are valid? |
SIGH
mbed-os |
NOTE: This PR has now been rebased. If this was made in error, feel free to force-push your local branch to restore the PR. |
a8cc461
to
2c7bb5a
Compare
CI started |
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
2c7bb5a
to
c0775ce
Compare
There was a rebase error somewhere in all that - here's yet another version. |
CI restarted |
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
Use a better tool for the job.
sigio callbacks can be triggered from interrupt, so changing _callback needs critical section protection, not just a mutex.
c0775ce
to
ab037c6
Compare
CI restarted |
Test run: SUCCESSSummary: 11 of 11 test jobs passed |
Description
Use a better tool for the job for the
_pending
counter, and properly protect_callback
.Pull request type
Reviewers