C# 2008 and 2005 Threaded Programming: Beginner's Guide (Paperback)

Gastón Hillar

  • 出版商: Packt Publishing
  • 出版日期: 2009-01-30
  • 售價: $1,670
  • 貴賓價: 9.5$1,587
  • 語言: 英文
  • 頁數: 416
  • 裝訂: Paperback
  • ISBN: 1847197108
  • ISBN-13: 9781847197108
  • 相關分類: C#
  • 無法訂購

買這商品的人也買了...

相關主題

商品描述

Most modern machines have dual core processors. This means that multitasking is built right into your computer's hardware. Using both cores means your applications can process data faster and be more responsive to users. But to fully exploit this in your applications, you need to write multithreading code, which means learning some challenging new concepts.

This book will guide you through everything you need to start writing multithreaded C# applications. You will see how to use processes and threads in C#, .NET Framework features for concurrent programming, sharing memory space between threads, and much more. The book is full of practical, interesting examples and working code.

This book begins with the fundamental concepts such as processes, threads, mono-processor systems, multi-processor systems. As the book progresses, the readers get a clear understanding of starting, joining, pausing and restarting threads. The readers get a better understanding of the simple techniques associated with parallelism. There are short exercises at the end of every chapter for the readers to perform.

The book also includes several practical parallelism algorithms and data structures used for illustration, and best practices and practical topics like debugging and performance.

Approach

This is a concise practical guide that will help you learn C# threaded programming, with lot of examples and clear explanations. It is packed with screenshots to aid your understanding of the process.

商品描述(中文翻譯)

大多數現代機器都配備雙核心處理器。這意味著多任務處理已經內建於您電腦的硬體中。使用兩個核心意味著您的應用程式可以更快地處理數據,並對用戶的反應更加迅速。但要充分利用這一點,您需要編寫多執行緒的程式碼,這意味著需要學習一些具有挑戰性的全新概念。

本書將指導您開始編寫多執行緒的 C# 應用程式所需的所有知識。您將學習如何在 C# 中使用進程和執行緒、.NET Framework 中的並發編程特性、執行緒之間共享記憶體空間等更多內容。本書充滿了實用、有趣的範例和可運行的程式碼。

本書從基本概念開始,例如進程、執行緒、單處理器系統和多處理器系統。隨著書籍的進展,讀者將清楚了解啟動、加入、暫停和重新啟動執行緒的過程。讀者將更好地理解與平行處理相關的簡單技術。每章的結尾都有短小的練習供讀者進行。

本書還包括幾個實用的平行處理演算法和數據結構作為示範,以及最佳實踐和實用主題,如除錯和性能。

方法

這是一本簡明的實用指南,將幫助您學習 C# 執行緒編程,並提供大量範例和清晰的解釋。書中包含了許多截圖,以幫助您理解過程。