Delphi Tutorial (TCriticalsection) How to use Critical sections

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 12

  • @r.h.b.dinethindusara8797
    @r.h.b.dinethindusara8797 5 місяців тому +2

    Thanks Dude, It's very helpful!

  • @SuperAnouri
    @SuperAnouri 5 місяців тому +1

    very good

  • @atcbrambo
    @atcbrambo 2 місяці тому +1

    Threading and (especially) Synchronize definitively under control.
    Thank you
    Now I go to next video.

    • @BitmasterXor
      @BitmasterXor  2 місяці тому

      @atcbrambo yea man :) it's really easy once you see how it works 💪

    • @atcbrambo
      @atcbrambo 2 місяці тому +1

      @@BitmasterXor Yes. But no one explained so cleararly, easily, and in depth.
      The lesson on Synchronize was amazing

    • @BitmasterXor
      @BitmasterXor  2 місяці тому +1

      @atcbrambo your welcome man I'm hoping to have more videos comming out soon.

  • @omarvx-dy6cw
    @omarvx-dy6cw 5 місяців тому +1

    successful return man !!

    • @BitmasterXor
      @BitmasterXor  5 місяців тому +1

      @omarvx-dy6cw thanks glad you liked it.

  • @AlexRoldugin
    @AlexRoldugin 4 місяці тому +1

    Don't we need to synchronize AreProgressBarsComplete while it is accessing GUI controls?

    • @BitmasterXor
      @BitmasterXor  4 місяці тому +2

      No its ok we don't have to synchronize AreProgressBarsComplete because it’s only reading the state of the progress bars and we are already using the critical section for updating the progress bars and other shared resources on the main VCL Thread. You can think of it as (Read Only) is ok as long as it does not attempt to "TOUCH" the GUI controls and mess with them. (Its just looking at their values not touching them directly).

    • @AlexRoldugin
      @AlexRoldugin 4 місяці тому +1

      ​@@BitmasterXor Thank you for clarification! You've made really useful videos about multithreading theme

    • @BitmasterXor
      @BitmasterXor  4 місяці тому +1

      @@AlexRoldugin Glad you like it, hopefully ill have more videos coming out soon.