https://github.com/jeremylikness/asyncawaitexplained
Async/await keywords explained: deck and source demos
https://github.com/jeremylikness/asyncawaitexplained
Last synced: about 1 month ago
JSON representation
Async/await keywords explained: deck and source demos
- Host: GitHub
- URL: https://github.com/jeremylikness/asyncawaitexplained
- Owner: JeremyLikness
- License: apache-2.0
- Created: 2015-03-12T11:27:30.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-12T11:40:02.000Z (about 10 years ago)
- Last Synced: 2025-03-24T20:22:03.735Z (about 2 months ago)
- Language: C#
- Size: 3.14 MB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Async Await
===========This repository and deck are part of the presentation, "Async/Await Explained."
## 01Threads
Demonstration of creating a simple thread.
## 02ManyTasksNoThreadPool
Compute-bound workers using direct threads (no Thread Pool).
## 03ManyThreadsThreadPhool
Compute-bound workers using the Thread Pool.
## 04Tasks
Managing compute-bound workers using Task.
## 05Parallel
Using the Parallel class to process compute-bound tasks.
## 06Asynchronous
Performing asynchronous I/O.
## 07AsyncAwait
Using async/await keywords to work with asynchronous I/O. Also contains an example of a re-entrant method using iterators to demonstrate the concept of a "re-entrant thread."
## 07bAsyncAwaitWithContext
WPF app demonstrating how async/await is different when a synchronization context exists.
## 08NoAsyncAwait
Using Wait() instead of await.
## 09AsyncThreadPool
Comparison of performing multiple asynchronous I/O operations using threads vs. the Thread Pool.