|
From: | Siva Velusamy |
Subject: | Re: [lwip-users] Reentrency problem within mem.c module |
Date: | Thu, 25 Oct 2007 08:21:08 -0700 |
The solution of this problem, once found was simply to add SYS_ARCH_PROTECT protection mechanism as an alternative to sys_sem_xxx function already present. The generic form is :
#if SYS_LIGHTWEIGHT_PROT
SYS_ARCH_PROTECT(level)
#else
sys_sem_wait(mem_sem)
#endif /* SYS_LIGHTWEIGHT_PROT */
I want to have your advice to known if it's something that must be corrected (I believe so), or left as is.
[Prev in Thread] | Current Thread | [Next in Thread] |