This chapter contains the following code samples:
- Threading Issues (a sample that shows race conditions and deadlocks)
- Synchronization Samples (synchronization using the
lockkeyword) - 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!