[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: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #9831] Move core lock macros to include/lwip/sys.h |
Date: |
Sat, 13 Jul 2019 15:01:26 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36 |
Follow-up Comment #1, patch #9831 (project lwip):
> [..] is this the proper place? why aren't they declared in sys_arch.h?
Because sys.h is meant for files depending on NO_SYS=0, in other words, lwIP
compiled with NO_SYS=1 (single threaded callback style without OS) would not
need sys.h at all.
But yes, I see your problem of defining a function in lwipopts.h, which is not
that ideal. Can you come up with a patch that allows you to declare those
functions in sys_arch.h while preventing to change all those files to include
sys.h?
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/patch/?9831>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/