目錄(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
推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Java程序設計與開發
- 從零構建知識圖譜:技術、方法與案例
- 密碼學原理與Java實現
- LabVIEW入門與實戰開發100例
- React Native Cookbook
- 從學徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- Troubleshooting PostgreSQL
- Scala Reactive Programming
- Julia 1.0 Programming Complete Reference Guide
- Cocos2d-x Game Development Blueprints
- Visual Basic程序設計(第三版)
- SQL Server 入門很輕松(微課超值版)
- 遠方:兩位持續創業者的點滴思考
- Learning Concurrency in Python
- Python Automation Cookbook
- Dart:Scalable Application Development
- C語言學習手冊
- 自然語言處理:原理、方法與應用
- Getting Started with Oracle WebLogic Server 12c:Developer’s Guide
- AWS Administration:The Definitive Guide
- Java開發寶典
- 從零開始:HTML5+CSS3快速入門教程
- Unity 3D從入門到精通(視頻微課版)
- Spring Boot從入門到精通
- C++編程入門指南(全2冊)
- 精通Hibernate
- 人工智能算法大全:基于MATLAB
- Go程序開發實戰寶典
- Learn Python in 7 Days