Building Multithreaded Applications (en.csharp-online.net)
submitted by
Hyle(2755) 5 years, 6 months ago
Learn to use delegates, the System.Threading namespace, and synchronization primitives. Excerpt: You’ll begin by revisiting the .NET delegate type and come to understand its intrinsic support for asynchronous method invocations. As you’ll see, this technique allows you to invoke a method on a secondary thread of execution automatically. Next, you’ll investigate the types within the System.Threading namespace. Here you’ll examine numerous types (Thread, ThreadStart, etc.) that allow you to easily create additional threads of execution. Of course, the complexity of multithreaded development isn’t in the creation of threads, but in ensuring that your code base is well equipped to handle concurrent access to shared resources. Given this, the chapter closes by examining various synchronization primitives that the .NET Framework provides.
|category: C#
|Views: 13
tags:
Multithread C# another
Everyones tags:
Your Tags: