Thread Pools in Python - Asynchronous Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025
  • 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/

ความคิดเห็น • 22

  • @ducnamhoang9621
    @ducnamhoang9621 6 หลายเดือนก่อน +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 6 หลายเดือนก่อน

    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 2 ปีที่แล้ว +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 2 ปีที่แล้ว

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

  • @discoline10191
    @discoline10191 2 ปีที่แล้ว +5

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

  • @007kowalski
    @007kowalski 2 หลายเดือนก่อน

    I wish you had a playlist for everything related to python multithreading

  • @julianreichelt1719
    @julianreichelt1719 ปีที่แล้ว +2

    Again a very useful video !!!!!!

  • @davidchait6010
    @davidchait6010 9 หลายเดือนก่อน

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

  • @rendermanpro
    @rendermanpro 6 หลายเดือนก่อน +1

    The best!

  • @quitethecontrary1846
    @quitethecontrary1846 2 ปีที่แล้ว +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 2 ปีที่แล้ว +1

    Thanks for tutorial

  • @HarithaDivakaran-d2p
    @HarithaDivakaran-d2p ปีที่แล้ว +1

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

  • @ericnids1710
    @ericnids1710 9 หลายเดือนก่อน

    Thanks mate.

  • @naufui
    @naufui 2 ปีที่แล้ว +1

    Thank you!

  • @x9rtu3os1t8
    @x9rtu3os1t8 2 ปีที่แล้ว

    Great job.

  • @ערןאוצפ
    @ערןאוצפ 2 ปีที่แล้ว

    What about stopping/cancelling a running future?

  • @nocopyrightgameplaystockvi231
    @nocopyrightgameplaystockvi231 2 ปีที่แล้ว +1

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

    • @JohnZakaria
      @JohnZakaria 2 ปีที่แล้ว +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.

  • @whonayem01
    @whonayem01 2 ปีที่แล้ว

    Thanks

  • @guilherme5094
    @guilherme5094 2 ปีที่แล้ว

    👍

  • @philtoa334
    @philtoa334 2 ปีที่แล้ว

    Thx_.