O'Reilly logo

Delphi Cookbook - Second Edition by Daniele Teti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using tasks to make your customer happier

Since RAD Studio XE7 Delphi and C++ Builder developers can use Parallel Programming Library (PPL). What is PPL? PPL is a part of the Delphi RTL that provides facilities multithreading (or parallel) programming.

PPL is available for all the platforms supported by Delphi and provides a number of advanced features for running tasks, joining tasks, waiting on groups of tasks to process, and so forth. PPL is not only a different way to create threads, but is a different way to manage threads as well. Why? Because to manage all of these features (tasks, futures, parallel for, joining, and so on), there is a thread pool that self-tunes automatically (based on the load on the CPUs), so you do not have to care about ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required