xiaoxiang781216 commented on code in PR #17569:
URL: https://github.com/apache/nuttx/pull/17569#discussion_r2637662334
##########
include/nuttx/spinlock_type.h:
##########
@@ -92,6 +96,13 @@ typedef union rspinlock_u
};
} rspinlock_t;
+#define SEQLOCK_INITIALIZER { 0u }
+
+typedef struct seqclock
+{
+ uint32_t sequence;
Review Comment:
why change from atomic_t to uint32_t
--
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]