Thread Pools in Python - Asynchronous Programming

Поделиться
HTML-код
  • Опубликовано: 14 ноя 2024

Комментарии • 21

  • @ducnamhoang9621
    @ducnamhoang9621 3 месяца назад +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 3 месяца назад

    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!

  • @julianreichelt1719
    @julianreichelt1719 Год назад +2

    Again a very useful video !!!!!!

  • @quitethecontrary1846
    @quitethecontrary1846 Год назад +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

  • @rendermanpro
    @rendermanpro 3 месяца назад +1

    The best!

  • @OPPACHblu_channel
    @OPPACHblu_channel Год назад +1

    Thanks for tutorial

  • @naufui
    @naufui 2 года назад +1

    Thank you!

  • @ericnids1710
    @ericnids1710 6 месяцев назад

    Thanks mate.

  • @davidchait6010
    @davidchait6010 6 месяцев назад

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

  • @whonayem01
    @whonayem01 Год назад

    Thanks

  • @ערןאוצפ
    @ערןאוצפ 2 года назад

    What about stopping/cancelling a running future?

  • @HarithaDivakaran-d2p
    @HarithaDivakaran-d2p 9 месяцев назад +1

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

  • @x9rtu3os1t8
    @x9rtu3os1t8 2 года назад

    Great job.

  • @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.

  • @philtoa334
    @philtoa334 2 года назад

    Thx_.

  • @guilherme5094
    @guilherme5094 2 года назад

    👍