hujun260 commented on code in PR #17939:
URL: https://github.com/apache/nuttx/pull/17939#discussion_r2696592021
##########
include/nuttx/notifier.h:
##########
@@ -212,9 +213,9 @@ extern "C"
{ \
FAR struct atomic_notifier_head *nh = (nhead); \
irqstate_t flags; \
- flags = enter_critical_section(); \
+ flags = rspin_lock_irqsave_nopreempt(&nh->lock); \
Review Comment:
rcu_read_lock is a major feature; NuttX currently doesn't implement it, and
it's not easy to implement.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]