lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #14523] Add core locking support to netconn_gethostby


From: Joel Cunningham
Subject: [lwip-devel] [task #14523] Add core locking support to netconn_gethostbyname
Date: Sat, 3 Jun 2017 02:30:50 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0

Follow-up Comment #3, task #14523 (project lwip):

Attached patch switches to using tcpip_send_msg_wait_sem() which abstracts
core locking vs non-core locking.

Change turned out pretty simple and I was able to follow how
netconn_write_partly/lwip_netconn_do_write works for blocking in the core
locking case when needing to wait for asynchronous completion.

Would appreciate a code review when you have a chance

Also, I created a shell command to exercise netconn_gethostbyname.  I can push
this as well

(file #40847)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-netconn-switch-gethostbyname-to-use-tcpip_send_msg_w.patch
Size:2 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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