-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
up_rtc_gettime: add spinlock to protect up_rtc_gettime #15413
Conversation
[Experimental Bot, please feedback here] No, this PR does not fully meet the NuttX requirements. While it provides a summary of the change, it lacks crucial details. Here's a breakdown: Missing Information:
Example of how to improve the Summary: "The Example of how to improve the Impact:
Example of how to improve the Testing:
Testing logs before change: (demonstrate the race condition - e.g., inconsistent time readings from two threads accessing the RTC simultaneously)
Testing logs after change: (show consistent time readings and no errors)
Or: By providing this level of detail, reviewers can quickly understand the change, its impact, and verify its correctness, leading to a faster and smoother review process. |
reason: We have removed the critical section protection for the up_rtc_gettime function in common code. Signed-off-by: hujun5 <[email protected]>
…x_pio.c Signed-off-by: hujun5 <[email protected]>
…g/SEGGER_RTT_Conf.h Signed-off-by: hujun5 <[email protected]>
Sorry @hujun260 could you check if the PR above is causing these build errors in
Also for
|
ok |
Summary
up_rtc_gettime: add spinlock to protect up_rtc_gettime
Impact
up_rtc_gettime
Testing
ci