[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #9831] Move core lock macros to include/lwip/sys.h
From: |
Joan Lledó |
Subject: |
[lwip-devel] [patch #9831] Move core lock macros to include/lwip/sys.h |
Date: |
Wed, 24 Jul 2019 13:13:37 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #2, patch #9831 (project lwip):
It seems LWIP_MARK_TCPIP_THREAD it's only used when !NO_SYS, and same for
LOCK_TCPIP_CORE and UNLOCK_TCPIP_CORE. So I could move LWIP_MARK_TCPIP_THREAD
declaration to sys.h and [UN]LOCK_TCPIP_CORE to sys_arch.h in the linux port.
About LWIP_ASSERT_CORE_LOCKED, I couldn't find a way to move it to sys.h w/o
updating all #includes, so I left it in opt.h, but at least now it's only one
macro.
(file #47254)
_______________________________________________________
Additional Item Attachment:
File name: 0001-Move-LWIP_MARK_TCPIP_THREAD-to-include-lwip-sys.h.patch Size:3
KB
<https://savannah.nongnu.org/file/0001-Move-LWIP_MARK_TCPIP_THREAD-to-include-lwip-sys.h.patch?file_id=47254>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9831>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/