[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PRO
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1 |
Date: |
Wed, 08 Apr 2009 19:58:14 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8 |
Follow-up Comment #16, bug #25608 (project lwip):
Bill, last time I checked I could use the defines with NO_SYS=1, not by
implementing the functions but by overriding the defines (sys.h checks if they
are already defined and does not re-define them).
That leaves us with the question why the defines are in sys.h - maybe they
should be moved elswhere.
Jim, I don't see how the stack would work with LIGHTWEIGHT_PROT=0 and
NO_SYS=0: all the pools and some other things would be unprotected, since they
intentionally don't use semaphores (too much overhead for a -- or ++). In my
opinion, LIGHTWEIGHT_PROT is required when using a SYS.
You're right right on NO_SYS=1, however: you only need LIGHTWEIGHT_PROT when
using an ISR-enabled driver, you don't need it in a pure polling environment.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25608>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Jim Pettinato, 2009/04/08
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Bill Auerbach, 2009/04/08
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Bill Auerbach, 2009/04/08
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1,
Simon Goldschmidt <=
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Bill Auerbach, 2009/04/08
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Simon Goldschmidt, 2009/04/27
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Bill Auerbach, 2009/04/27
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Simon Goldschmidt, 2009/04/27
- [lwip-devel] [bug #25608] Unable to use NO_SYS=1 and SYS_LIGHTWEIGHT_PROT=1, Simon Goldschmidt, 2009/04/27