Multi-threading in Delphi from CodeRage 5 in 2010

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

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 ;-)
#28 - Build a Multi-Threaded App with System.Threading
55:45
Embarcadero Technologies
Рет қаралды 6 М.
Multithreading In Delphi (TTask and TThread)
1:18:38
BitmasterXor
Рет қаралды 1,4 М.
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН
#behindthescenes @CrissaJackson
0:11
Happy Kelli
Рет қаралды 27 МЛН
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,7 МЛН
The SOLID Principles in Delphi - Write Better Code!
1:03:53
Embarcadero Technologies
Рет қаралды 9 М.
Threading and Concurrency - TCoffeeAndCode
2:13:45
Embarcadero Technologies
Рет қаралды 4,4 М.
Where Does Bad Code Come From?
42:21
Molly Rocket
Рет қаралды 212 М.
Unit Testing in Delphi
56:26
Nick Hodges
Рет қаралды 17 М.
Embarcadero Webinar: Threads von Daniel Wolf
47:09
EmbarcaderoGermany
Рет қаралды 4,2 М.
Introduction to Python for Delphi Developers Webinar 1 Replay
1:20:30
Embarcadero Technologies
Рет қаралды 19 М.
SQLite for Delphi 10.3
52:13
Muhammad Ardy
Рет қаралды 7 М.
Жездуха 42-серия
29:26
Million Show
Рет қаралды 2,6 МЛН