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. _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
