lwip-devel
[Top][All Lists]
Advanced

[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:1.8.1.9) Gecko/20071025 Firefox/2.0.0.9

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:

  <http://savannah.nongnu.org/task/?7017>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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