[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL
From: |
Peter Graf |
Subject: |
Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL |
Date: |
Sun, 12 Nov 2006 11:24:46 +0100 (MET) |
User-agent: |
Thunderbird 1.5.0.5 (Windows/20060719) |
Leon Woestenberg wrote:
>> Thanks for the detailed post - good to see folks getting to grips with
>> the stack. The above seemed to summarise quite nicely and I agree
>> completely with that.
>>
> I completely agree with you; It's good to see there is interest in the
> lwIP stack from developers that are concerned abouts its correctness.
>
> The SYS_LIGHTWEIGHT_PROT protection was introduced by one of the
> developers using the stack to protect *ONLY* between interrupt context
> and single-thread user-space context if I am not mistaken.
I think you are mistaken.
> I am all for removing it, because the locking solution does not scale
> across different platforms.
I have to use SYS_LIGHTWEIGHT_PROT in a _multithreaded_ environment with
interrupt-triggered device driver. Removing it would render lwIP
unusable for me. I guess it lies in the nature of a simple locking
mechanism to be platform specific, but that makes it "lightweight".
I vote against a removal.
All the best
Peter
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, (continued)
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Andrew Lentvorski, 2006/11/20
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Jonathan Larmour, 2006/11/17
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Jonathan Larmour, 2006/11/17
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Kieran Mansley, 2006/11/19
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Leon Woestenberg, 2006/11/19
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Jonathan Larmour, 2006/11/19
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Jonathan Larmour, 2006/11/19
- RE: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Pettinato, Jim, 2006/11/17
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Jonathan Larmour, 2006/11/17
- Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL, Peter Graf, 2006/11/18
Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL,
Peter Graf <=