lwip-users
[Top][All Lists]
Advanced

[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.



reply via email to

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