[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] LwIP multithread select mode problems
From: |
lampo |
Subject: |
Re: [lwip-users] LwIP multithread select mode problems |
Date: |
Thu, 23 Jun 2016 18:23:35 -0700 (MST) |
thank you ! Joel
I still want to know if /SYS_ARCH_PROTECT/ is a must in multiple
threads environment?
I see a lot of /SYS_ARCH_PROTECT/ in select() and other sockets apis.
But when I set /SYS_LIGHATWEIGHT_PROT/ to 1 to use *SYS_ARCH_PROTECT*, the
applicaton run into hardfault or stackoverflow(due to RTOS thread scheduler,
or deadlock something ), I tried disabling interrupts and mutex both , in
implementing SYS_ARCH_PROTECT, both not ok.
I wonder if should use SYS_ARCH_PROTECT plus LWIP_NETCONN_SEM_PER_THREAD ?
Really appreciate!
--
View this message in context:
http://lwip.100.n7.nabble.com/LwIP-multithread-select-mode-problems-tp26561p26573.html
Sent from the lwip-users mailing list archive at Nabble.com.
Re: [lwip-users] LwIP multithread select mode problems, Sergio R. Caprile, 2016/06/24
Re: [lwip-users] LwIP multithread select mode problems, Joel Cunningham, 2016/06/24
Re: [lwip-users] LwIP multithread select mode problems, Joel Cunningham, 2016/06/28