Does it even make sense to have js running in both threads? Like, I'd say it's fine if everything runs in one thread, while the other one just handles network stuff that happens under the hood? I thought the main reason we were so excited about the second thread was so that we didn't have the network - stuff watchdog biting our ass if we have to do something slow
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Does it even make sense to have js running in both threads? Like, I'd say it's fine if everything runs in one thread, while the other one just handles network stuff that happens under the hood? I thought the main reason we were so excited about the second thread was so that we didn't have the network - stuff watchdog biting our ass if we have to do something slow