Don't we need to synchronize AreProgressBarsComplete while it is accessing GUI controls?
@BitmasterXorАй бұрын
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Ай бұрын
@@BitmasterXor Thank you for clarification! You've made really useful videos about multithreading theme
@BitmasterXorАй бұрын
@@AlexRoldugin Glad you like it, hopefully ill have more videos coming out soon.