Book description
NoneTable of contents
- Preface
- Concurrency: An Overview
-
Async Basics
- 2.1. Pausing for a Period of Time
- 2.2. Returning Completed Tasks
- 2.3. Reporting Progress
- 2.4. Waiting for a Set of Tasks to Complete
- 2.5. Waiting for Any Task to Complete
- 2.6. Processing Tasks as They Complete
- 2.7. Avoiding Context for Continuations
- 2.8. Handling Exceptions from async Task Methods
- 2.9. Handling Exceptions from async void Methods
- 2.10. Creating a ValueTask
- 2.11. Consuming a ValueTask
-
Asynchronous Streams
- Asynchronous Streams and Task<T>
- Asynchronous Streams and IEnumerable<T>
- Asynchronous Streams and Task<IEnumerable<T>>
- Asynchronous Streams and IObservable<T>
- Summary
- 3.1. Creating Asynchronous Streams
- 3.2. Consuming Asynchronous Streams
- 3.3. Using LINQ with Asynchronous Streams
- 3.4. Asynchronous Streams and Cancellation
- Parallel Basics
- Dataflow Basics
- System.Reactive Basics
- Testing
-
Interop
- 8.1. Async Wrappers for âAsyncâ Methods with âCompletedâ Events
- 8.2. Async Wrappers for âBegin/Endâ Methods
- 8.3. Async Wrappers for Anything
- 8.4. Async Wrappers for Parallel Code
- 8.5. Async Wrappers for System.Reactive Observables
- 8.6. System.Reactive Observable Wrappers for async Code
- 8.7. Asynchronous Streams and Dataflow Meshes
- 8.8. System.Reactive Observables and Dataflow Meshes
- 8.9. Converting System.Reactive Observables to Asynchronous Streams
-
Collections
- 9.1. Immutable Stacks and Queues
- 9.2. Immutable Lists
- 9.3. Immutable Sets
- 9.4. Immutable Dictionaries
- 9.5. Threadsafe Dictionaries
- 9.6. Blocking Queues
- 9.7. Blocking Stacks and Bags
- 9.8. Asynchronous Queues
- 9.9. Throttling Queues
- 9.10. Sampling Queues
- 9.11. Asynchronous Stacks and Bags
- 9.12. Blocking/Asynchronous Queues
-
Cancellation
- 10.1. Issuing Cancellation Requests
- 10.2. Responding to Cancellation Requests by Polling
- 10.3. Canceling Due to Timeouts
- 10.4. Canceling async Code
- 10.5. Canceling Parallel Code
- 10.6. Canceling System.Reactive Code
- 10.7. Canceling Dataflow Meshes
- 10.8. Injecting Cancellation Requests
- 10.9. Interop with Other Cancellation Systems
- Functional-Friendly OOP
- Synchronization
- Scheduling
- Scenarios
- Legacy Platform Support
- Recognizing and Interpreting Asynchronous Patterns
- Index
Product information
- Title: Concurrency in C# Cookbook, 2nd Edition
- Author(s):
- Release date:
- Publisher(s):
- ISBN: None
You might also like
video
C# in Depth, 4th Ed, Video Edition
"Jon doesn’t just explain how C# works; he explains how the whole thing holds together as …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …