出版社:东南大学出版社
年代:2014
定价:42.0
如果你是众多开发者之一而又对并发和多线程开发不是太有把握,那么你将可以从本书中获益良多。通过超过75个丰富的代码实例,作者Stephen Cleary使用.NET 4.5和C# 5.0中的库和语言特性展示了并行处理和异步编程技术。并发性在要求响应及时和可扩展的应用开发中变得越来越普遍,但它在代码层面上又非常难以实现。本操作手册中的详细方案为你展示现代工具如何提升了抽象化的层次,使得实现并发性比以前容易很多。
Preface
1.Concurrency: An Overview
1.1.Introduction to Concurrency
1.2.Introduction to Asynchronous Programming
1.3.Introduction to Parallel Programming
1.4.Introduction to Reactive Programming (Rx)
1.5.Introduction to Dataflows
1.6.Introduction to Multithreaded Programming
1.7.Collections for Concurrent Applications
1.8.Modern Design
1.9.Summary of Key Technologies
2.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
3.Parallel Basics
3.1.Parallel Processing of Data
3.2.Parallel Aggregation
3.3.Parallel Invocation
3.4.Dynamic Parallelism
3.5.Parallel LINQ
4.Dataflow Basics
4.1.Linking Blocks
4.2.Propagating Errors
4.3.Unlinking Blocks
4.4.Throttling Blocks
4.5.Parallel Processing with Dataflow Blocks
4.6.Creating Custom Blocks
5.Rx Basics
5.1.Converting .NET Events
5.2.Sending Notifications to a Context
5.3.Grouping Event Data with Windows and Buffers
5.4.Taming Event Streams with Throttling and Sampling
5.5.Timeouts
6.Testing
6.1.Unit Testing async Methods
6.2.Unit Testing async Methods Expected to Fail
6.3.Unit Testing async void Methods
6.4.Unit Testing Dataflow Meshes
6.5.Unit Testing Rx Observables
6.6.Unit Testing Rx Observables with Faked Scheduling
7.Interop
7.1.Async Wrappers for “Async” Methods with “Completed” Events
7.2.Async Wrappers for “Begin/End” methods
7.3.Async Wrappers for Anything
7.4.Async Wrappers for Parallel Code
7.5.Async Wrappers for Rx Observables
7.6.Rx Observable Wrappers for async Code
7.7.Rx Observables and Dataflow Meshes
8.Collections
8.1.Immutable Stacks and Queues
8.2.Immutable Lists
8.3.Immutable Sets
8.4.Immutable Dictionaries
8.5.Threadsafe Dictionaries
8.6.Blocking Queues
8.7.Blocking Stacks and Bags
8.8.Asynchronous Queues
8.9.Asynchronous Stacks and Bags
8.10.Blocking/Asynchronous Queues
9.Cancellation
9.1.Issuing Cancellation Requests
9.2.Responding to Cancellation Requests by Polling
9.3.Canceling Due to Timeouts
9.4.Canceling async Code
9.5.Canceling Parallel Code
9.6.Canceling Reactive Code
9.7.Canceling Dataflow Meshes
9.8.Injecting Cancellation Requests
9.9.Interop with Other Cancellation Systems
10.Functional-Friendly OOP
10.1.Async Interfaces and Inheritance
10.2.Async Construction: Factories
10.3.Async Construction: The Asynchronous Initialization Pattern
10.4.Async Properties
10.5.Async Events
10.6.Async Disposal
11.Synchronization
11.1.Blocking Locks
11.2.Async Locks
11.3.Blocking Signals
11.4.Async Signals
11.5.Throttling
12.Scheduling
12.1.Scheduling Work to the Thread Pool
12.2.Executing Code with a Task Scheduler
12.3.Scheduling Parallel Code
12.4.Dataflow Synchronization Using Schedulers
13.Scenarios
13.1.Initializing Shared Resources
13.2.Rx Deferred Evaluation
13.3.Asynchronous Data Binding
13.4.Implicit State
index
如果你是众多开发者之一而又对并发和多线程开发不是太有把握,那么你将可以从《C#并发经典实例(影印版)》中获益良多。通过超过75个丰富代码秘方,作者SteDhenCIearv使用NET45和C#5。0中的库和语言特性展示了并行处理与异步编程技术。
《C#并发经典实例(影印版)》在要求响应及时和可扩展的应用开发中变得越来越普遍,但它在代码层面上又非常难以实现。
《C#并发经典实例(影印版)》中的详细解决方案为你展示现代工具如何提升了抽象化的层次,使得实现并发性比以前容易很多。《C#并发经典实例(影印版)》中的每个秘方都包含了你可以自由使用的解决方案,并且阐述了这些方案是如何和为什么能够奏效的。
书籍详细信息 | |||
书名 | C#并发经典实例站内查询相似图书 | ||
9787564153847 如需购买下载《C#并发经典实例》pdf扫描版电子书或查询更多相关信息,请直接复制isbn,搜索即可全网搜索该ISBN | |||
出版地 | 南京 | 出版单位 | 东南大学出版社 |
版次 | 影印本 | 印次 | 1 |
定价(元) | 42.0 | 语种 | 英文 |
尺寸 | 24 × 17 | 装帧 | 平装 |
页数 | 印数 |
C#并发经典实例是东南大学出版社于2015.2出版的中图分类号为 TP312 的主题关于 C语言-程序设计-英文 的书籍。
(美) 克利里 (Cleary,S.) , 著
(美) 希亚德 (Hilyard,J.) , (美) 泰勒特 (Teilhet,S.) , 著
(美) 杰伊·希尔亚德 (Jay Hilyard) , (美) 斯蒂芬·泰耶 (Stephen Teilhet) , 著
(美) 沃森 (Watson,K.) , (美) 内格尔 (Nagel,C.) , 著
(美) 本杰明·帕金斯 (Benjamin Perkins) , 等著
(美) 沃森 (Watson,K.) , (美) 内格尔 (Nagel,C.) , 著
(美) 沃森 (Watson,K.) , 等著
(美) 沃森 (Watson,K.) 等, 著
王院峰等, 编著