- Sun Jun 07, 2015 9:57 pm
#19787
tve wrote:I started out with the FreeRTOS system but soon got discouraged for the following reasons: (1) lwip is not multi-threaded and so all the threads you may run in FreeRTOS create a boatload of headaches as soon as they need to communicate and the native lwip functions just suck (personal opinion)
FWIW, you only have the single threaded restriction if you use the lwIP raw socket API. If you use the BSD socket API (which is enabled in the iot_rtos_sdk, and also in esp-open-rtos) then this is multithreaded and lwIP should handle the headaches for you.
There is some extra resource overhead in using BSD-style sockets though, which is why the lwIP raw socket API exists in the first place.