Threads in MicroPython

Поділитися
Вставка
  • Опубліковано 21 жов 2024
  • MicroPython creator Damien George discusses how to use threads using the _thread module.
    Currently supported on the PyBoard and ESP32 ports, these threading primitives provide powerful concurrency features.
    Presented at the Melbourne MicroPYthon Meetup on the 28th November 2018.
    micropython.org/
    melbournemicro...

КОМЕНТАРІ • 13

  • @KillaDukeBadMan
    @KillaDukeBadMan 5 років тому +1

    Man you guys have done an amazing job with the esp32 port, big thanks from Brisbane

  • @RufusVidS
    @RufusVidS 3 роки тому +1

    I got a kick out of acquiring the lock to halt the thread outputs! That was great.

  • @ajaydeshpande6374
    @ajaydeshpande6374 4 роки тому +1

    Hey Matt, what about threading support on ESP8266 boards? I'm not able to find anything on that. Am I missing anything? Thanks!

    • @mattytrentini
      @mattytrentini  4 роки тому

      Ajay Deshpande no, threads are not implemented on the ESP8266. It really doesn’t have the headroom for them though; better off to use asyncio...

  • @dmackle3849
    @dmackle3849 2 роки тому

    It’s a pity Damien’s giant brain is obstructing a lot of what is streaming out of Damien’s giant brain. Does this demo exist anywhere accompanied by a command history? Following along at home is problematic for the inexperienced. Thanks anyway.

  • @sgyuri2003
    @sgyuri2003 2 роки тому +1

    MAtt!
    Are you serious?
    Are you muttering in 480 resolution in front of a TV with it covered?
    This is annoying shit.

    • @mattytrentini
      @mattytrentini  2 роки тому +1

      Please feel free to not watch it; I'm aware that it's a poor recording but the content was useful to some.