[Top][All Lists]

[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: Gecko/20070309 Firefox/

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

>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:


  Message posté via/par Savannah

reply via email to

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