text
stringlengths
0
13.4k
.......................................................................................................................................
....................................................................................................
....................................................................................
................................................................................................................
..............................................................................................
....................................................................................................................................
Section 42.4: Parallel.ForEach
Section 42.5: Parallel.For
Section 42.6: Task: basic instantiation and Wait
Section 42.7: Task.WhenAll
Section 42.8: Flowing execution context with AsyncLocal
Section 42.9: Parallel.ForEach in VB.NET
Section 42.10: Task: WaitAll and variable capturing
Section 42.11: Task: WaitAny
Section 42.12: Task: handling exceptions (using Wait)
Section 42.13: Task: handling exceptions (without using Wait)
Section 42.14: Task: cancelling using CancellationToken
Section 42.15: Task.WhenAny
..........................................................................................
............................................................................
134
.....................................................................................
...................................................................................................................................
Chapter 43: Task Parallel Library (TPL) API Overviews
.......................................................................
137
Section 43.1: Perform work in response to a button click and update the UI
.....................................................
137
Chapter 44: Synchronization Contexts
.........................................................................................................
138
Section 44.1: Execute code on the UI thread after performing background work
.............................................
138
Chapter 45: Memory management
................................................................................................................
139
Section 45.1: Use SafeHandle when wrapping unmanaged resources
Section 45.2: Unmanaged Resources
Chapter 46: Garbage Collection
.....................................................................................................................
.......................................................................................................................
...............................................................
139
Section 46.1: A basic example of (garbage) collection
Section 46.2: Live objects and dead objects - the basics
Section 46.3: Multiple dead objects
Section 46.4: Weak References
Section 46.5: Dispose() vs. finalizers
Section 46.6: Proper disposal and finalization of objects
.........................................................................................................................
...............................................................................................................................
.......................................................................................................................
.....................................................................................
144
.........................................................................................
.....................................................................................
141