Summary
In this chapter, we have focused on one of the most important and most complex features of modern computing: multithreaded applications and parallel programming. We had room only for an overview to get you started in this area.
In particular, we delved into Delphi’s Parallel Programming Library. With constructs such as parallel for
loops, tasks, and futures, we can really make our Delphi apps faster and more responsive. However, keep in mind that you need to be careful in terms of resource access and synchronization, and for this reason, we introduced some of the key concepts in this space, from critical sections to TMonitor
and the intrinsic operations.
If you want to learn more about threading and parallel programming, I fully recommend reading books and articles by Primoz Gabrijelcic, particularly his recent book, Delphi High Performance by Packt (ISBN: 9781805125877).
Now that we have looked into the foundations of the Delphi language and touched on some...