基本信息
- 商品名:C#并发经典实例 9787564153847东南大学
- ISBN:9787564153847
- 定价:42
- 出版社:东南大学出版社
- 作者:Stephen Cleary
参考信息(以实物为准)
- 出版时间:2015-02-01
- 印刷时间:2015-02-01
- 版次:1
- 印次:1
- 包装:平装
- 开本:16开
- 用纸:胶版纸
- 页数:190
- 字数:255000
内容简介
如果你是众多开发者之一而又对并发和多线程开发不是太有把握,那么你将可以从《C#并发经典实例(影印版)》中获益良多。通过超过75个丰富代码秘方,作者SteDhenCIearv使用NET45和C#5。0中的库和语言特性展示了并行处理与异步编程技术。
《C#并发经典实例(影印版)》在要求响应及时和可扩展的应用开发中变得越来越普遍,但它在代码层面上又非常难以实现。
《C#并发经典实例(影印版)》中的详细解决方案为你展示现代工具如何提升了抽象化的层次,使得实现并发性比以前容易很多。《C#并发经典实例(影印版)》中的每个秘方都包含了你可以自由使用的解决方案,并且阐述了这些方案是如何和为什么能够奏效的。
目录
Preface
1.Concurrency: An Overview
1.1.Introduction to Concurrency
1.□.Introduction to Asynchronous Programming
1.3.Introduction to Parallel Programming
1.4.Introduction to Reactive Programming (Rx)
1.5.Introduction to Dataflow□<□r>1.6.Introduction to Multithreaded Programming
1.7.Collections for Concurrent Application□<□r>1.8.Modern Design
1.9.Summary of Key Technologie□<□r>
□.Async Basic□<□r>□.1.Pausing for a Period of Time
□.□.Returning Completed Task□<□r>□.3.Reporting Progres□<□r>□.4.Waiting for a Set of Tasks to Complete
□.5.Waiting for Any Task to Complete
□.6.Processing Tasks as They Complete
□.7.Avoiding Context for Continuation□<□r>□.8.Handling Exceptions from async Task Method□<□r>□.9.Handling Exceptions from async Void Method□<□r>
3.Parallel Basic□<□r>3.1.Parallel Processing of Data
3.□.Parallel Aggregation
3.3.Parallel Invocation
3.4.Dynamic Parallelism
3.5.Parallel LINQ
4.Dataflow Basic□<□r>4.1.Linking Block□<□r>4.□.Propagating Error□<□r>4.3.Unlinking Block□<□r>4.4.Throttling Block□<□r>4.5.Parallel Processing with Dataflow Block□<□r>4.6.Creating Custom Block□<□r>
5.Rx Basic□<□r>5.1.Converting .NET Event□<□r>5.□.Sending Notifications to a Context
5.3.Grouping Event Data with Windows and Buffer□<□r>5.4.Taming Event Streams with Throttling and Sampling
5.5.Timeout□<□r>
6.Testing
6.1.Unit Testing async Method□<□r>6.□.Unit Testing async Methods Expected to Fail
6.3.Unit Testing async void Method□<□r>6.4.Unit Testing Dataflow Meshe□<□r>6.5.Unit Testing Rx Observable□<□r>6.6.Unit Testing Rx Observables with Faked Scheduling
7.Interop
7.1.Async Wrappers for “Async” Methods with “Completed” Event□<□r>7.□.Async Wrappers for “Begin/End” method□<□r>7.3.Async Wrappers for Anything
7.4.Async Wrappers for Parallel Code
7.5.Async Wrappers for Rx Observable□<□r>7.6.Rx Observable Wrappers for async Code
7.7.Rx Observables and Dataflow Meshe□<□r>
8.Collection□<□r>8.1.Immutable Stacks and Queue□<□r>8.□.Immutable List□<□r>8.3.Immutable Set□<□r>8.4.Immutable Dictionarie□<□r>8.5.Threadsafe Dictionarie□<□r>8.6.Blocking Queue□<□r>8.7.Blocking Stacks and Bag□<□r>8.8.Asynchronous Queue□<□r>8.9.Asynchronous Stacks and Bag□<□r>8.10.Blocking/Asynchronous Queue□<□r>
9.Cancellation
9.1.Issuing Cancellation Request□<□r>9.□.Responding to Cancellation Requests by Polling
9.3.Canceling Due to Timeout□<□r>9.4.Canceling async Code
9.5.Canceling Parallel Code
9.6.Canceling Reactive Code
9.7.Canceling Dataflow Meshe□<□r>9.8.Injecting Cancellation Request□<□r>9.9.Interop with Other Cancellation System□<□r>
10.Functional-Friendly OOP
10.1.Async Interfaces and Inheritance
10.□.Async Construction: Factorie□<□r>10.3.Async Construction: The Asynchronous Initialization Pattern
10.4.Async Propertie□<□r>10.5.Async Event□<□r>10.6.Async Disposal
11.Synchronization
11.1.Blocking Lock□<□r>11.□.Async Lock□<□r>11.3.Blocking Signal□<□r>11.4.Async Signal□<□r>11.5.Throttling
1□.Scheduling
1□.1.Scheduling Work to the Thread Pool
1□.□.Executing Code with a Task Scheduler
1□.3.Scheduling Parallel Code
1□.4.Dataflow Synchronization Using Scheduler□<□r>
13.Scenario□<□r>13.1.Initializing Shared Resource□<□r>13.□.Rx Deferred Evaluation
13.3.Asynchronous Data Binding
13.4.Implicit State
index