lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #19347] netif_add & tcpip_init problem


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #19347] netif_add & tcpip_init problem
Date: Tue, 03 Apr 2007 11:12:43 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #21, bug #19347 (project lwip):

Yes, it's ok for me to create a semaphore each time this function is called.
And including the sem into struct netifapi_msg is _much_ better than using
the conn->mbox.

Only I fear too much creation/deletion of semaphores, but on the other hand,
we also do that with each creation/deletion of a socket...

With the api_msg, you're right. But you'll split it then: one half is in
tcpip.c, the other half is in the new file... and I think this is only
necessary if the code is 'big' enough.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19347>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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