lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL


From: Kieran Mansley
Subject: Re: [lwip-users] Bug in pbuf.c regarding PBUF_POOL
Date: Fri, 06 Oct 2006 11:17:27 +0100

On Fri, 2006-10-06 at 11:47 +0200, Goldschmidt Simon wrote:

> Hope for some comments on this...
> 

Sorry for the multiple replies, but I knew this had been discussed
recently, I was just searching in the wrong mailing list:

http://lists.gnu.org/archive/html/lwip-devel/2006-03/msg00000.html

(and subsequent replies).

i.e. I think we concluded that none of us understand how it's supposed
to work either.

The post from Adam that I pointed at in my last reply suggests that it's
not designed to make it thread safe - the core of lwIP is not thread
safe and you as the porter must ensure that only one thread uses it at
once - and so it may be doing what was originally intended, but that
this is not what you want it to do.

I still reckon it's not doing much that is useful though, especially as
pbuf_pool_free_lock is never set to anything other than 0, and so it
should be purged.

Kieran





reply via email to

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