Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Readme - Code Samples for Chapter 22, Task Synchronization

This chapter contains the following code samples:

  • Threading Issues (a sample that shows race conditions and deadlocks)
  • Synchronization Samples (synchronization using the lock keyword)
  • Semaphore Sample (using SemaporeSlim)
  • Singleton WPF (using Mutex, WPF Application)
  • Event Sample (using ManualResetEventSlim)
  • Event Sample with Countdown Event (using CountdownEvent)
  • Barrier Sample (using Barrier)
  • Reader Writer Lock Sample (using ReaderWriterLockSlim)
  • Timers Sample (using Timer)
  • WinApp Timer (using DispatcherTimer, Universal Windows App)
  • AsyncDelegate (using a delegate for asynchronous invocation, this requires the .NET Framework)

To build and run the .NET Core samples, please install

  • Visual Studio 2017 with the .NET Core workload

Please download and install the tools from .NET Core downloads.

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.

Thank you!