lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #65786] tcpip_init fails LWIP_ASSERT_CORE_LOCKED asser


From: Billy Bednar
Subject: [lwip-devel] [bug #65786] tcpip_init fails LWIP_ASSERT_CORE_LOCKED assertion
Date: Thu, 30 May 2024 13:15:41 -0400 (EDT)

Follow-up Comment #1, bug #65786 (group lwip):

Take a look at some of the existing ports:
https://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/ports/freertos/sys_arch.c#n582
https://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/ports/unix/port/sys_arch.c#n246
https://git.savannah.nongnu.org/cgit/lwip.git/tree/contrib/ports/win32/sys_arch.c#n507

In all of them LWIP_ASSERT_CORE_LOCKED (sys_check_core_locking) does not
check the mutex or thread identity (depending on the value of
LWIP_TCPIP_CORE_LOCKING) unless the TCPIP thread has started and called
LWIP_MARK_TCPIP_THREAD (sys_mark_tcpip_thread).


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?65786>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]