-
Notifications
You must be signed in to change notification settings - Fork 1.5k
bt_atomic: use atomic macro to replace wireless/bluetooth/bt_atomic.c #14985
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
|
[Experimental Bot, please feedback here] No, this PR description does not adequately meet the NuttX requirements. While it provides some information, it's far too brief and lacks crucial details. Here's a breakdown of what's missing:
To be acceptable, the PR description needs significant expansion, providing the missing context and details as outlined in the NuttX requirements. |
anchao
left a comment
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.
Emm... I might remove bt_atomic.c and replace all of them with stdatomic's API, but this change is also fine for me.
Yes, it's better to remove bt_atomic.c and change bt_atomic to macro to avoid the function invocation cost. |
8d8c1a2 to
9d3dd89
Compare
Signed-off-by: hujun5 <hujun5@xiaomi.com>
Summary
bt_atomic: use atomic macro to replace wireless/bluetooth/bt_atomic.c
Impact
bt
Testing
ci