[Top][All Lists]

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

[lwip-devel] [bug #28064] pbuf_alloc(PBUF_POOL) is not thread-safe

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #28064] pbuf_alloc(PBUF_POOL) is not thread-safe
Date: Tue, 18 May 2010 16:12:28 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: Gecko/20100401 Firefox/3.6.3

Follow-up Comment #7, bug #28064 (project lwip):

OK, I didn't think of calling pbuf_alloc() from interrupt context with

After all, I think the easiest solution is probably to set a flag and let
tcp_tmr free ooseq segments if that flag is set. This would work for both
NO_SYS settings and is thread-safe, although it might be a bit late
(250ms...). Another solution would be to add a sys_timeout in this case, but
that's not thread-safe either (yet?).


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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