lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] Semaphore Interrupts:


From: address@hidden
Subject: Re: [lwip-devel] Semaphore Interrupts:
Date: Mon, 23 May 2016 20:57:05 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2

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

reply via email to

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