[Top][All Lists]

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

[lwip-devel] [task #7017] Implement DNS client

From: Frédéric Bernon
Subject: [lwip-devel] [task #7017] Implement DNS client
Date: Mon, 19 Nov 2007 19:00:52 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20071025 Firefox/

Follow-up Comment #50, task #7017 (project lwip):

>A global variable also won't work as multiple threads would access it at the
same time, so what's left is mem_malloc, I suppose... 

The global variable is not a problem (except the memory use) since dns is
like the other lwIP "core" functions, only one thread should access it in the
same time (and it's use only inside dns_recv).

About mem_malloc, I prefer having a static buffer. Or an option to let the
port decide to use a static or a dynamic buffer (or the stack ?). In all
cases, except one or two lines, there is no lot of changes to do...


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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