[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #20842] unix sys_arch_protect faulty
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [bug #20842] unix sys_arch_protect faulty |
Date: |
Tue, 21 Aug 2007 07:40:12 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6 |
Follow-up Comment #4, bug #20842 (project lwip):
But perhaps this lightweight mutex is "faster" than unix implementation ? I
don't know...
But except that which is more "coding style", perhaps your "problem" Thomas
is that you think the SYS_ARCH_PROTECT should not be based on a unique global
mutex, to avoid to block taskA during a pbuf reference decrement, while taskB
do a memp_malloc (or any longer processing)?
But the design of SYS_ARCH_DECL_PROTECT / SYS_ARCH_PROTECT/
SYS_ARCH_UNPROTECT macros seems more based on a interrupt level feature (where
the sys_prot_t type/parameter is useful), than on a mutex one (where, since
only a global mutex is possible, sys_prot_t type/parameter is not useful).
That's why I have propose in https://savannah.nongnu.org/task/?7212 to
introduce a real mutex feature (as SYS_ARCH_PROTECT is global, and sys_sem_t
can't be really recursive).
So, the problem is in all ports (not only in the unix one), and I think we
can close it as "invalid". Right?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20842>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Thomas Taranowski, 2007/08/20
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Jonathan Larmour, 2007/08/20
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Thomas Taranowski, 2007/08/20
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Frédéric Bernon, 2007/08/21
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty,
Frédéric Bernon <=
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Jonathan Larmour, 2007/08/21
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Frédéric Bernon, 2007/08/21
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty, Thomas Taranowski, 2007/08/21
- [lwip-devel] [bug #20842] unix sys_arch_protect faulty - deferred to task 7212, Thomas Taranowski, 2007/08/21