Chapter 14: Multi-Threaded Programming

In this chapter, you will learn about multi-threaded programming. You will learn what threads are and about background and foreground threads. Then, you will learn how to pass data into threads before you run them. You will also learn how to pause, interrupt, destroy, schedule, and cancel threads.

In this chapter, we will be covering the following topics:

  • Understanding threads and threading: This section covers the life cycle of threads.
  • Creating threads with and without parameters: This section provides examples of thread creation with and without parameters.
  • Pausing and interrupting threads: This section covers how to pause and interrupt threads.
  • Destroying and canceling threads: This section covers ...

Get High-Performance Programming in C# and .NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.