lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5926] Use function pointers instead of table index


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5926] Use function pointers instead of table index in api_lib/api_msg
Date: Fri, 11 May 2007 08:08:51 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #7, patch #5926 (project lwip):

>But couldn't we move the sys_mbox_post() there, too? 

If it would be possible for most of "do_xxx" functions, it's not for
"do_connect" which is asynchrone, and where the "end of process" (the "post")
is done in err_tcp xor do_connected... Perhaps "connect" should be a real
exception, with a specific process (I don't think, but we can talk about
that)?

>More, I think we could replace the conn->mbox by a conn->sem if we only post
empty messages..

Agree (I think that most of "mbox" implementation already use "sem" inside).


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5926>

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





reply via email to

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