Multithreading – The Delphi Way

My image
  • Author: Martin Harvey
  • Format: online HTML
  • Price: free

This guide is intended for anyone who is interested in improving performance and responsiveness in their Delphi applications by using threads. It covers a range of topics from absolute beginner to intermediate level, and some of the real world examples raise issues bordering on the advanced. It assumes that the reader has a reasonable knowledge of Object Pascal programming, including simple object orientation, and a working understanding of event based programming.

Chapters include:

  • What are threads? Why use them?
  • Creating a thread in Delphi.
  • Basic synchronization.
  • Simple thread destruction.
  • More thread destruction. Deadlock.
  • More synchronization: Critical sections and mutexes.
  • Mutex programming guidelines. Concurrency control.
  • Delphi thread safe classes and Priorities.
  • Semaphores. Data flow scheduling. The producer – consumer relationship.
  • I/O and data flow: from blocking to asynchronous and back.
  • Synchronizers and Events.
  • More Win32 synchronization facilities.
  • Using threads in conjunction with the BDE, Exceptions and DLLs.
  • A real world problem, and its solution.

Leave a Reply

Your email address will not be published. Required fields are marked *