Multi-threading in Delphi from CodeRage 5 in 2010

  Рет қаралды 9,960

Boian Mitov

Boian Mitov

Күн бұрын

Пікірлер: 13
@johpee239
@johpee239 Жыл бұрын
Wow, chock and block full of very practical and useful information. I will certainly be trying to apply this to my database apps. Thank you very much for taking the time to present this.
@BoianMitov
@BoianMitov Жыл бұрын
You are Welcome! Glad you like it! 🙂
@FTDmakers6611
@FTDmakers6611 2 жыл бұрын
Thanks for all these tips. Excellent job. Thanks !
@BoianMitov
@BoianMitov 2 жыл бұрын
You are Welcome! Glad that you found it useful! 🙂
@skulesrmo4986
@skulesrmo4986 9 жыл бұрын
Not possible to apply Postmessage routine with a thread class in Delphi XE8. No message is processed from a thread methode.
@BoianMitov
@BoianMitov 9 жыл бұрын
+Skule Sørmo What do you mean? I use post messages from other thread, although not that often nowadays, and it works in XE8.
@skulesrmo4986
@skulesrmo4986 9 жыл бұрын
+Boian Mitov Works when PostMessage(Form.Hwindow....) is applie instead of PostMessage(Hwindow....) in thread execute procedure, and execute Application.ProcessMessages procedure after each PostMessage procedure applied. PostMessage does not work as showed in the video..
@BoianMitov
@BoianMitov 9 жыл бұрын
+Skule Sørmo You should never call Application.ProcessMessages from any thread other than the main thread. And you should avoid ever calling Application.ProcessMessages as it can cause recursive type of bugs, and many other peoblems.
@skulesrmo4986
@skulesrmo4986 9 жыл бұрын
+Boian Mitov Well, have a look at users.atw.hu/delphicikk/listaz.php?id=150&oldal=50 Removing of Application.ProcessMessages in thread implies that the program hangs. It works for me to have it..
@BoianMitov
@BoianMitov 9 жыл бұрын
Skule Sørmo I don't see PostMessage in that code. In any case, all my products use the PostMessage mechanism, and as you may have noticed they all work ;-) . Actually it is widely used across many applications. And I never use Application.ProcessMessages ;-) The problems you have may be related with other aspects of the design, such as deadlock ;-)
@BatteryProductions
@BatteryProductions 6 жыл бұрын
very helpful!
@valdisbalodis9460
@valdisbalodis9460 7 жыл бұрын
for better understand good to be block schematic diagram + source code
@BoianMitov
@BoianMitov 7 жыл бұрын
I have posted the source in the link bellow the video ;-)
Unit Testing in Delphi
56:26
Nick Hodges
Рет қаралды 17 М.
УНО Реверс в Амонг Ас : игра на выбывание
0:19
Фани Хани
Рет қаралды 1,3 МЛН
Sigma girl VS Sigma Error girl 2  #shorts #sigma
0:27
Jin and Hattie
Рет қаралды 124 МЛН
Embarcadero Webinar: Threads von Daniel Wolf
47:09
EmbarcaderoGermany
Рет қаралды 4,2 М.
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 995 М.
The SOLID Principles in Delphi - Write Better Code!
1:03:53
Embarcadero Technologies
Рет қаралды 9 М.
Multithreading In Delphi (TTask and TThread)
1:18:38
BitmasterXor
Рет қаралды 1,3 М.
Parallel Programming Library: Create Responsive Object Pascal Apps
55:08
Embarcadero Technologies
Рет қаралды 19 М.
What is ThreadVar? (Obscure Syntax #3) - Delphi #149
6:25
Alister Christie
Рет қаралды 3 М.
#28 - Build a Multi-Threaded App with System.Threading
55:45
Embarcadero Technologies
Рет қаралды 6 М.