Thread Pools in Python - Asynchronous Programming

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • In this video, we learn how to use thread pools in Python.
    ◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
    📚 Programming Books & Merch 📚
    🐍 The Python Bible Book: www.neuralnine...
    💻 The Algorithm Bible Book: www.neuralnine...
    👕 Programming Merch: www.neuralnine...
    🌐 Social Media & Contact 🌐
    📱 Website: www.neuralnine...
    📷 Instagram: / neuralnine
    🐦 Twitter: / neuralnine
    🤵 LinkedIn: / neuralnine
    📁 GitHub: github.com/Neu...
    🎙 Discord: / discord
    🎵 Outro Music From: www.bensound.com/

Komentáře • 20

  • @ducnamhoang9621
    @ducnamhoang9621 Před měsícem +1

    Dang it! It's brilliant, omg. I was stuck with the multithreading for several days until I found this video. It helps me a lot. Thank you, sir!

  • @sergeysavtalyan2903
    @sergeysavtalyan2903 Před 28 dny

    I needed to learn asynchronous programming in really short time period due to a deadline, and this video helped me a lot. Thank you very much.

  • @oguzhantopaloglu9442
    @oguzhantopaloglu9442 Před 2 lety +4

    Lol I just learnt about thread pools and reentrant locks in Java 2 days ago and now you make a video about thread pools in Python.
    What a coincidence!

    • @salihbora3832
      @salihbora3832 Před 2 lety

      Ayy I didn’t expect to see a turkish fella here!

  • @discoline10191
    @discoline10191 Před 2 lety +5

    Best video I've seen on the topic. Thanks!

  • @julianreichelt1719
    @julianreichelt1719 Před 10 měsíci +2

    Again a very useful video !!!!!!

  • @davidchait6010
    @davidchait6010 Před 3 měsíci

    What about iterating through a list and dynamically scheduling to the pool for each index value?

  • @user-qp9xl9xm2n
    @user-qp9xl9xm2n Před 7 měsíci +1

    What if an error occur in worker how to handle that?

  • @rendermanpro
    @rendermanpro Před měsícem +1

    The best!

  • @quitethecontrary1846
    @quitethecontrary1846 Před rokem +3

    can you please turn your intro music down?!?!? or turn up the volume after the intro when the video starts...thanks for everything you do

  • @OPPACHblu_channel
    @OPPACHblu_channel Před rokem +1

    Thanks for tutorial

  • @ericnids1710
    @ericnids1710 Před 4 měsíci

    Thanks mate.

  • @naufui
    @naufui Před rokem +1

    Thank you!

  • @user-nu4so7zg8r
    @user-nu4so7zg8r Před rokem

    What about stopping/cancelling a running future?

  • @whonayem01
    @whonayem01 Před rokem

    Thanks

  • @nocopyrightgameplaystockvi231

    Will it use more cores, or just a single core and those threads will be executed on it ?

    • @JohnZakaria
      @JohnZakaria Před 2 lety +2

      Python will only use one core.
      You would need a process Pool for that.
      If you want to know why, look into the Gil.

  • @x9rtu3os1t8
    @x9rtu3os1t8 Před 2 lety

    Great job.

  • @philtoa334
    @philtoa334 Před 2 lety

    Thx_.

  • @guilherme5094
    @guilherme5094 Před 2 lety

    👍