Threading in C#
2h 4mBeginner2018-03-22
Authors

Chander Dhall
Microsoft MVP, Consultant
Course details
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.
Learning objectives
Debugging threads
Threads vs. processes
Using a thread pool
Tasks vs. threads
Tasks with IO
Using monitors and locks
Nested locks
Learning objectives
Debugging threads
Threads vs. processes
Using a thread pool
Tasks vs. threads
Tasks with IO
Using monitors and locks
Nested locks
Skills covered
C#PersonaProgramming LanguagesMicrosoftSoftware Development
Concepts
0. Introduction
- 01 - Welcome
- 02 - What you should know
1. Introduction to Threading
- 03 - Understanding threading
- 04 - Context switching
- 05 - Thread naming
- 06 - Shared resources
- 07 - Shared resources demo
- 08 - Threads vs. processes
- 09 - Local memory
- 10 - Thread pool
- 11 - Thread pool demo
- 12 - Other threading concepts
- 13 - Exception handling
2. Tasks
- 14 - Tasks vs. threads
- 15 - Tasks introduction
- 16 - Tasks with IO
- 17 - Tasks with continuation
- 18 - Tasks with continuation demo
3. Synchronization
- 19 - Synchronization overview
- 20 - Monitor and locks
- 21 - Nested locks
- 22 - Dead lock
- 23 - Reader writer lock
- 24 - Mutex
- 25 - Semaphore
Conclusion
- 26 - Next steps