Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part 5: Introducing the .NET Base Class ... > Multithreaded and Parallel Programmi...

Chapter 19. Multithreaded and Parallel Programming

Nobody enjoys working with an application which is slow and sluggish during its execution. Moreover, nobody enjoys starting a task in an application (perhaps initiated by the clicking of a toolbar item) which prevents other parts of the program from being as responsive as possible. Before the release of .NET, building applications that had the ability to perform multiple tasks required authoring very complex C++ code and the Windows threading APIs. Thankfully, the .NET platform provides a number of ways for you to build software which can perform complex operations on unique paths of execution, with far less fuss and bother.

This chapter begins by revisiting the .NET delegate type to investigate 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 without needing to manually create or configure the thread itself.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint