Brett Price wrote:
We have been having ARM4 bus fault issues in LWIP
1.4.1 perhaps from a typo in (opt.h). Users believe the
semaphore is enable per the text (if set 1) but semaphore is Not
enabled in mem.c.
You're right that with NO_SYS==1, there is of course no semaphore
involved. That's indeed a documentation issue.
However, freeing from other context should still work with NO_SYS:
when freeing from other context is enabled, the mutex is only used
to serialize concurrent calls to mem_malloc, which by design cannot
(and must not) happen for NO_SYS==1.
Simon
|