[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc/netif: make gnrc_netif_create() blocking to avoid race condition (#16527)

Martine Lenders notifications at github.com
Mon Jun 21 13:45:34 CEST 2021

@miri64 commented on this pull request.

> @@ -56,11 +56,18 @@ static void _check_netdev_capabilities(netdev_t *dev);
 static void *_gnrc_netif_thread(void *args);
 static void _event_cb(netdev_t *dev, netdev_event_t event);
+typedef struct {
+    gnrc_netif_t *netif;
+    mutex_t init_done;
+    int result;
+} netif_ctx_t;

As this is an internal type, maybe mark it as such

} _netif_ctx_t;

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210621/73bb4469/attachment.htm>

More information about the notifications mailing list