lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #14314] Implement interface name/index APIs


From: Joel Cunningham
Subject: [lwip-devel] [task #14314] Implement interface name/index APIs
Date: Thu, 9 Feb 2017 10:42:24 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #47, task #14314 (project lwip):

David,

I'm fine with an iterator API, we would just need to ensure the list creation
is atomic in regards to any simultaneous add/remove.  

Creating a list inside the LwIP context ensures this, but maybe a
lighter-weight approach would be to use a generator that is incremented every
time netif_list is modified and we rebuild the list if it changes during
iteration.  That would be a new global int though

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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