舉報

會員
Multithreading with C# Cookbook(Second Edition)
最新章節:
Index
Thisbookisaimedatthosewhoarenewtomultithreadedprogramming,andwhoarelookingforaquickandeasywaytogetstarted.ItisassumedthatyouhavesomeexperienceinC#and.NETalready,andyoushouldalsobefamiliarwithbasiccomputerscienceterminologyandbasicalgorithmsanddatastructures.
目錄(105章)
倒序
- 封面
- 版權信息
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- Chapter 1. Threading Basics
- Introduction
- Creating a thread in C#
- Pausing a thread
- Making a thread wait
- Aborting a thread
- Determining a thread state
- Thread priority
- Foreground and background threads
- Passing parameters to a thread
- Locking with a C# lock keyword
- Locking with a Monitor construct
- Handling exceptions
- Chapter 2. Thread Synchronization
- Introduction
- Performing basic atomic operations
- Using the Mutex construct
- Using the SemaphoreSlim construct
- Using the AutoResetEvent construct
- Using the ManualResetEventSlim construct
- Using the CountDownEvent construct
- Using the Barrier construct
- Using the ReaderWriterLockSlim construct
- Using the SpinWait construct
- Chapter 3. Using a Thread Pool
- Introduction
- Invoking a delegate on a thread pool
- Posting an asynchronous operation on a thread pool
- A thread pool and the degree of parallelism
- Implementing a cancellation option
- Using a wait handle and timeout with a thread pool
- Using a timer
- Using the BackgroundWorker component
- Chapter 4. Using the Task Parallel Library
- Introduction
- Creating a task
- Performing basic operations with a task
- Combining tasks
- Converting the APM pattern to tasks
- Converting the EAP pattern to tasks
- Implementing a cancelation option
- Handling exceptions in tasks
- Running tasks in parallel
- Tweaking the execution of tasks with TaskScheduler
- Chapter 5. Using C# 6.0
- Introduction
- Using the await operator to get asynchronous task results
- Using the await operator in a lambda expression
- Using the await operator with consequent asynchronous tasks
- Using the await operator for the execution of parallel asynchronous tasks
- Handling exceptions in asynchronous operations
- Avoiding the use of the captured synchronization context
- Working around the async void method
- Designing a custom awaitable type
- Using the dynamic type with await
- Chapter 6. Using Concurrent Collections
- Introduction
- Using ConcurrentDictionary
- Implementing asynchronous processing using ConcurrentQueue
- Changing asynchronous processing order with ConcurrentStack
- Creating a scalable crawler with ConcurrentBag
- Generalizing asynchronous processing with BlockingCollection
- Chapter 7. Using PLINQ
- Introduction
- Using the Parallel class
- Parallelizing a LINQ query
- Tweaking the parameters of a PLINQ query
- Handling exceptions in a PLINQ query
- Managing data partitioning in a PLINQ query
- Creating a custom aggregator for a PLINQ query
- Chapter 8. Reactive Extensions
- Introduction
- Converting a collection to an asynchronous Observable
- Writing custom Observable
- Using the Subject type family
- Creating an Observable object
- Using LINQ queries against an observable collection
- Creating asynchronous operations with Rx
- Chapter 9. Using Asynchronous I/O
- Introduction
- Working with files asynchronously
- Writing an asynchronous HTTP server and client
- Working with a database asynchronously
- Calling a WCF service asynchronously
- Chapter 10. Parallel Programming Patterns
- Introduction
- Implementing Lazy-evaluated shared states
- Implementing Parallel Pipeline with BlockingCollection
- Implementing Parallel Pipeline with TPL DataFlow
- Implementing Map/Reduce with PLINQ
- Chapter 11. There's More
- Introduction
- Using a timer in a Universal Windows Platform application
- Using WinRT from usual applications
- Using BackgroundTask in Universal Windows Platform applications
- Running a .NET Core application on OS X
- Running a .NET Core application on Ubuntu Linux
- Index 更新時間:2021-07-09 19:35:50
推薦閱讀
- SpringMVC+MyBatis快速開發與項目實戰
- 動手玩轉Scratch3.0編程:人工智能科創教育指南
- PHP+MySQL+Dreamweaver動態網站開發從入門到精通(第3版)
- Microsoft Azure Storage Essentials
- The Professional ScrumMaster’s Handbook
- Scratch趣味編程:陪孩子像搭積木一樣學編程
- MySQL程序員面試筆試寶典
- QlikView Unlocked
- 監控的藝術:云原生時代的監控框架
- Android應用開發實戰(第2版)
- Java設計模式深入研究
- C語言程序設計
- React.js實戰
- HTML5/CSS3/JavaScript技術大全
- JavaScript全棧開發
- Python網絡運維自動化
- Python算法交易實戰
- R Data Visualization Cookbook
- C#.NET程序設計
- 軟件工程基礎
- 中文版AutoCAD 2017實用教程
- Java應用架構設計:模塊化模式與OSGi
- Splunk Essentials(Second Edition)
- 軟技能:代碼之外的生存指南
- C#程序設計任務式教程
- Node與Express開發
- Flink設計與實現:核心原理與源碼解析
- C#深入詳解
- Implementing VMware vCenter Server
- 游戲服務器架構與優化