[Top][All Lists]

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

[lwip-devel] [patch #5468] sockets.c: Create socksem and selectsem in an

From: Frédéric BERNON
Subject: [lwip-devel] [patch #5468] sockets.c: Create socksem and selectsem in an init-function
Date: Mon, 26 Feb 2007 16:04:02 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20070219 Firefox/

Follow-up Comment #3, patch #5468 (project lwip):

I think that a simple way to avoid the CHANGELOG and to add the modification
is to only add from the patch:

+  socksem   = sys_sem_new(1);
+  selectsem = sys_sem_new(1);

and to let original code like :

if (!...)
... = sys_sem_new(1); 

So, ports are always compatibles, and functionnality is added
(multithread-safe) to people using it.

Note: I think that lwip_init should be a better name (all others sockets.c
functions are prefixed by lwip_).


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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