Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Thinktecture Webinar async/await in .NET
Search
Sebastian Gingter
August 31, 2021
Programming
680
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Thinktecture Webinar async/await in .NET
Slides for my webinar about async/await in .NET.
Sebastian Gingter
August 31, 2021
More Decks by Sebastian Gingter
See All by Sebastian Gingter
Pragmatische AI Agents: Mit LLMs, Tools & Gedächtnis zum Ziel
phoenixhawk
0
160
DDC 2025: p"AI"r Programming statt Vibe-Coding
phoenixhawk
0
180
EKON 2025 - Agents
phoenixhawk
0
210
EKON 2025 AI Coding
phoenixhawk
0
200
BASTA! 2025: Agents in Action: LLM's, Tools and Reasoning
phoenixhawk
0
220
From Zero to Hero: How to put GPT LLMs & Friends into your Applications
phoenixhawk
0
290
DWX 2025 - Talk to your data
phoenixhawk
0
110
BASTA! Spring 2025 - Halluzinationen, Prompt Injections & Co.
phoenixhawk
0
310
SEACON 2024 - Talk to your Data
phoenixhawk
0
340
Other Decks in Programming
See All in Programming
AmebaブログはKMPから卒業します
kmars0605
0
330
Event is what happens
moro
2
3.7k
Seven New Principles of Software Engineering
yegor256
0
460
Crash Auto Pipelines
veronikapj
1
380
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
5.1k
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
180
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
330
조합이폭발하는디자인시스템이걸눈으로도테스트하라고요
giljongyu
0
720
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
200
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
280
Inertia Rails: The One-Person Framework with React & Friends
skryukov
0
380
GraphQL の onError と Nullability のこれから
quramy
0
210
Featured
See All Featured
Designing Experiences People Love
moore
143
24k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
390
Testing 201, or: Great Expectations
jmmastey
46
8.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
1k
Docker and Python
trallard
47
4.3k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
470
How to Ace a Technical Interview
jacobian
280
24k
Crafting Experiences
bethany
1
430
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.2k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
550
Transcript
None
2 Deep-dive in async/await bei Backend-APIs ▪ ▪ ▪ ▪
▪ ▪ ▪ ▪ ▪ Twitter:
3 ▪ ▪ ▪ (Theorie 😨) ▪ ▪ ▪ Deep-dive
in async/await bei Backend-APIs
12 Deep-dive in async/await bei Backend-APIs • • • •
• • •
13 Deep-dive in async/await bei Backend-APIs
14 Deep-dive in async/await bei Backend-APIs Task Task-Liste Threadpool T1
Threadpool T2 Kern 1 Kern 3 Kern 2 Kern 4 Threadpool T3 Threadpool T4 Threadpool Management Jeder Pool-Thread arbeitet Tasks in einer Endlosschleife ab Completed Tasks
15 • • • • • 🤯 Deep-dive in async/await
bei Backend-APIs
16 Deep-dive in async/await bei Backend-APIs
17 ▪ ▪ ▪ ▪ ▪ ▪ ⏳ ▪ ▪
▪ Deep-dive in async/await bei Backend-APIs ReadFile API: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-readfile
18 ▪ ▪ ▪ ▪ ▪ ▪ ⏳ ▪ Deep-dive
in async/await bei Backend-APIs ReadFile API: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-readfile
19 Deep-dive in async/await bei Backend-APIs
20 • • async Task<> MyMethodAsync() • • • await
OtherMethodAsync() • • await • • • • Deep-dive in async/await bei Backend-APIs
21 Deep-dive in async/await bei Backend-APIs
22 Deep-dive in async/await bei Backend-APIs
23 • • task.GetAwaiter().GetResult() → ❌ • Thread.Sleep() → ❌
• await Task.Delay() → ✔ • Thread.SpinWait() • → ❌ • → ✔ Deep-dive in async/await bei Backend-APIs
24 • • var task1 = DoSomethingAsync(); var task2 =
DoSomethingElseAsync(); await Task.WhenAll(task1, task2); • • • Task.Factory.StartNew(…, TaskCreationOptions.LongRunning); • • • Deep-dive in async/await bei Backend-APIs
25 • • • • Deep-dive in async/await bei Backend-APIs
26 Deep-dive in async/await bei Backend-APIs
27 ▪ ▪ ▪ ▪ ▪ ▪ Deep-dive in async/await
bei Backend-APIs
28 ▪ ▪ ▪ ▪ ▪ 😉 Deep-dive in async/await
bei Backend-APIs
None