[Top][All Lists]
[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: |
Wed, 04 Jul 2007 09:38:03 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #5, task #7054 (project lwip):
Some problem with some init. In sockets.c file, you could see :
static sys_sem_t socksem = 0;
static sys_sem_t selectsem = 0;
But it's not good, since 0 is not the same as SYS_SEM_NULL: this define is
provide in each sys_arch.h to determine which is the invalid value for a
semaphore (see sys_arch.txt). In my case, I got...
#define SYS_SEM_NULL 0xffffffff
Since my semaphore subsystem handler is based on a array (where 0 is a valid
value).
Hopefully, they are - in CVS HEAD - initialized in lwip_socket_init()...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?7054>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/03
- RE: [lwip-devel] [task #7054] Clarification needed for variableinitialization, Julian Gardner [RSD], 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization,
Frédéric Bernon <=
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/04
- RE: [lwip-devel] [task #7054] Clarification needed for variable initialization, Goldschmidt Simon, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/04
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Simon Goldschmidt, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Frédéric Bernon, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, David Empson, 2007/07/05
- [lwip-devel] [task #7054] Clarification needed for variable initialization, Kieran Mansley, 2007/07/13