lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [task #7054] Clarification needed for variable initializati


From: Frédéric Bernon
Subject: [lwip-devel] [task #7054] Clarification needed for variable initialization
Date: Mon, 30 Jul 2007 22:29:52 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.5) Gecko/20070713 Firefox/2.0.0.5

Follow-up Comment #15, task #7054 (project lwip):

>Re comment #5, it is still better to initialise socksem and selectsem to
SYS_SEM_NULL at the time they are declared - that way the loader initialises
it along with other initialised data, which means less code. 

If we consider that lwip_socket_init is now mandatory, socksem & selectsem
can even have no explicit initialization at the time they are declared, since
their first values will be set by the two sys_sem_new calls...


    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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