[riot-notifications] [RIOT-OS/RIOT] pkg/lwip: Add thread safety check when using DEVELHELP (#16259)

Erik Ekman notifications at github.com
Tue Jul 13 11:58:53 CEST 2021

@yarrick commented on this pull request.

> +static kernel_pid_t lwip_tcpip_thread = KERNEL_PID_UNDEF;
+void sys_mark_tcpip_thread(void) {
+    lwip_tcpip_thread = thread_getpid();
+static kernel_pid_t lwip_lock_thread;
+void sys_lock_tcpip_core(void) {

`LOCK_TCPIP_CORE` and `UNLOCK_TCPIP_CORE` are only redefined to be able to the the extra thread tracking compared to the standard versions in [tcpip.h](https://git.savannah.nongnu.org/cgit/lwip.git/tree/src/include/lwip/tcpip.h?h=STABLE-2_1_x#n57)

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/20210713/c98c87a5/attachment.htm>

More information about the notifications mailing list