Threading in C#

0
Join & Subscribe
LinkedIn Learning
Free Trial Available
English
Certificate Available
2-3 hours worth of material
selfpaced

Overview

Learn how to use threading to perform concurrent processes in C#.

Threading is a powerful tool for developers, and having a solid grasp of how it works is key to creating high-performing applications. Threading—or multithreading—can help you create scalable applications that are more responsive to user input. In this course, learn from Microsoft MVP Chander Dhall how to write applications that perform multiple tasks at the same time. Chander covers basic threading concepts, including context switching and exception handling. He also discusses how to synchronize code, use a mutex and a semaphore, and more.

Syllabus

Introduction
  • Welcome
  • What you should know
1. Introduction to Threading
  • Understanding threading
  • Context switching
  • Thread naming
  • Shared resources
  • Shared resources demo
  • Threads vs. processes
  • Local memory
  • Thread pool
  • Thread pool demo
  • Other threading concepts
  • Exception handling
2. Tasks
  • Tasks vs. threads
  • Tasks introduction
  • Tasks with IO
  • Tasks with continuation
  • Tasks with continuation demo
3. Synchronization
  • Synchronization overview
  • Monitor and locks
  • Nested locks
  • Dead lock
  • Reader/writer lock
  • Mutex
  • Semaphore
Conclusion
  • Next steps

Taught by

Chander Dhall