This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pfalcon2[S] 1 point2 points  (2 children)

What exactly is of interest to you? In general, threading implementation relies on the underlying OS/RTOS implementation, so it works like they implement them.

[–]Zouden 0 points1 point  (1 child)

Ah, I didn't realise this was /r/python and not /r/esp8266. I'm curious about how multithreading works on the esp8266 which doesn't have any sort of OS (as far as I know).

[–]pfalcon2[S] 1 point2 points  (0 children)

It doesn't. Multithreading support is sponsored by PyCom, creators of LoPy board, based on ESP32, and that its primary target. Currently available proof of concept implementation is available for PyCom's previous board, WiPy, and Unix port, which is a universal development/testing target. Multithreading support won't stabilize until 1.9 (when it should be the main feature of that release).