Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Multithreading and Parallel Programming in C#
Rating: 4.2 out of 5(609 ratings)
3,827 students

Multithreading and Parallel Programming in C#

Overcome multithreading and asynchronous programming in C# problems & improve performance by parallel computing in C#
Created byEngineer Spock
Last updated 7/2020
English

What you'll learn

  • Be able to use a full power of TPL (task parallel library) by using Tasks
  • Understand the low-level of Threads
  • Understand all the basic concepts such as "Thread", "Process"; difference between "asynchrony", "concurrency", "multithreading", and "parallel computing"
  • Use the full power of synchronization constructs such as Monitor (lock), Interlocked, ReaderWriterLockSlim, Semaphore, SynchronizationContext
  • Use the full power of signaling constructs such as AutoResetEvent and ManualResetEventSlim, CountdownEvent and Barrier, Mutex
  • Use spinners where appropriate: SpinLock, SpinWait
  • Understand and use Immutable and Concurrent Collections
  • Harness the power of parallel computing by using PFX components: Parallel class and PLINQ

Course content

10 sections80 lectures7h 11m total length
  • How to Ask Questions0:22
  • Source Code0:01
  • Join .NET Community of Students0:02
  • Materials0:47

Requirements

  • Good understanding of C#

Description

For the last two decades, computers became faster by increasing the number of CPU cores. However, the fact of having more cores itself doesn’t make a computer drastically faster if those cores are not used by software properly. We, as software developers, should know how to write asynchronous and parallel executing code to make our applications faster and more responsive.

This course is all about developing more responsive and fast programs. Multithreading and Parallel Computing are topics for those who already have some experience in programming, otherwise, you may face difficulties with understanding the content. Anyway, this course covers:

  • Theoretical foundations of asynchronous programming: main concepts, processes, threads and so on

  • Low-level Thread API, APM, and EAP

  • Task Parallel Library (TPL) including starting tasks, canceling tasks, chaining tasks, waiting for tasks, IO-based tasks, exceptions handling and other

  • Async and Await feature of C#

  • Synchronization including atomicity, Interlocked, Monitor (lock), ReaderWriterLockSlim, Semaphore, SynchronizationContext, and Mutex

  • Signaling constructs such as AutoResetEvent and ManualResetEventSlim, CountdownEvent and Barrier

  • Spinning including SpinWait, SpinLock and our own UpdateableSpin

  • ConcurrentCollections including ImmutableStack, ImmutableQueue, ImmutableList, Immutable Sets, ImmutableDictionary, ConcurrentStack, ConcurrentQueue, ConcurrentBag, BlockingCollection

  • Parallel Programming including Parallel class and PLINQ

Enroll and start learning the foundations of multithreading and parallel computing in .NET.

Who this course is for:

  • Any C# developer who wants to learn about multithreading and parallel computing in C#
  • Any C# developer who wants to have a good reminder (about multithreading-related stuff) at hand