pkarashchenko commented on a change in pull request #5725: URL: https://github.com/apache/incubator-nuttx/pull/5725#discussion_r825303147
########## File path: net/utils/net_lock.c ########## @@ -49,9 +49,9 @@ * Private Data ****************************************************************************/ -static sem_t g_netlock; -static pid_t g_holder = NO_HOLDER; -static unsigned int g_count = 0; +static sem_t g_netlock = SEM_INITIALIZER(1); +static pid_t g_holder = NO_HOLDER; +static unsigned int g_count = 0; Review comment: ```suggestion static unsigned int g_count; ``` -- 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: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org