目錄(112章)
倒序
- coverpage
- Multithreading in C# 5.0 Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files eBooks discount offers and more
- Why Subscribe?
- Free Access for Packt account holders
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- 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
- 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 Task Parallel Library
- Introduction
- Creating a task
- Performing basic operations with a task
- Combining tasks together
- Converting the APM pattern to tasks
- Converting the EAP pattern to tasks
- Implementing a cancellation option
- Handling exceptions in tasks
- Running tasks in parallel
- Tweaking tasks execution with TaskScheduler
- Chapter 5. Using C# 5.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 execution
- Handling exceptions in the asynchronous operations
- Avoid using 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 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 asynchronous Observable
- Writing custom Observable
- Using Subjects
- Creating an Observable object
- Using LINQ queries against the 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 Windows Store application
- Using WinRT from usual applications
- Using BackgroundTask in Windows Store applications
- Index 更新時間:2021-07-21 18:10:18
推薦閱讀
- Learning ROS for Robotics Programming(Second Edition)
- 自然語言處理實戰:預訓練模型應用及其產品化
- Linux網絡程序設計:基于龍芯平臺
- Linux Device Drivers Development
- R Deep Learning Cookbook
- PHP編程基礎與實例教程
- Python算法詳解
- Mastering Backbone.js
- Backbone.js Testing
- Mudbox 2013 Cookbook
- 你好!Java
- Python滲透測試編程技術:方法與實踐(第2版)
- C語言進階:重點、難點與疑點解析
- Microsoft Azure Security
- R for Data Science Cookbook
- Learning HTML5 by Creating Fun Games
- Magento 2 -Build World-Class online stores
- Hybrid Mobile Development with Ionic
- Learning Puppet Security
- Mastering PhoneGap Mobile Application Development
- R語言數據可視化實戰:大數據專業圖表從入門到精通(微視頻全解版)
- React Material:UI Cookbook
- 用Go語言自制解釋器
- Python測試之道
- INSTANT RSpec Test-Driven Development How-to
- Cursor與Copilot開發實戰
- 小猴編程:Scratch 3.0趣味少兒編程(提高篇)
- Sass and Compass Designer's Cookbook
- Mastering vRealize Automation 6.2
- C#碼農筆記:從第一行代碼到項目實戰