Book Image

Delphi Cookbook

By : Daniele Teti
Book Image

Delphi Cookbook

By: Daniele Teti

Overview of this book

Table of Contents (14 chapters)
Delphi Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. The Thousand Faces of Multithreading

In this chapter, we will cover the following topics:

  • Synchronizing shared resources with TMonitor

  • Talking with the main thread using a thread-safe queue

  • Synchronizing multiple threads using TEvent

  • Displaying a measure on a 2D graph like an oscilloscope