xiaoxiang781216 commented on code in PR #22469:
URL: https://github.com/apache/nuttx/pull/22469#discussion_r4716246628
##########
net/local/local_sockif.c:
##########
@@ -1179,16 +1180,26 @@ static int local_ioctl(FAR struct socket *psock, int
cmd, unsigned long arg)
static int local_socketpair(FAR struct socket *psocks[2])
{
+ static uint32_t g_next_pair_id;
Review Comment:
change to atomic_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]