Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Thinktecture Webinar async/await in .NET
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
130
DDC 2025: p"AI"r Programming statt Vibe-Coding
phoenixhawk
0
140
EKON 2025 - Agents
phoenixhawk
0
180
EKON 2025 AI Coding
phoenixhawk
0
170
BASTA! 2025: Agents in Action: LLM's, Tools and Reasoning
phoenixhawk
0
190
From Zero to Hero: How to put GPT LLMs & Friends into your Applications
phoenixhawk
0
260
DWX 2025 - Talk to your data
phoenixhawk
0
90
BASTA! Spring 2025 - Halluzinationen, Prompt Injections & Co.
phoenixhawk
0
270
SEACON 2024 - Talk to your Data
phoenixhawk
0
310
Other Decks in Programming
See All in Programming
T3DD26: From RAGs to Riches
martinhelmich
0
140
[PyCon KR 2026] More Variants, More Diversity for AI Accelerators
achimnol
0
130
Press start. Python's next generation.
willingc
PRO
3
300
思考垂れ流し開発 ~音声入力 × AIエージェント × 開発ハーネスによる試行錯誤~
npostring
0
810
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
250
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.9k
Vibes Containers 〜AIで変わるコンテナ設計と運用〜
tkikuc
1
450
AIの中の人になってみる
htkym
0
150
Gmail/Google DriveをトリガーにAIエージェントを動かそう! / Run AI agents with Gmail/Google Drive as triggers!
har1101
3
460
ALB ログから Trace を気合で繋げる技術
fohte
7
860
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
200
新人はどこまで自力でやり、どこからAIに頼るべきか/エンジニア育成に向き合う_先輩たちの悩みと知見共有会
toppan_digital_dev
1
550
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
Navigating Weather and Climate Data
rabernat
0
510
Documentation Writing (for coders)
carmenintech
77
5.5k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
410
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
The Limits of Empathy - UXLibs8
cassininazir
1
630
Believing is Seeing
oripsolob
1
210
Designing Experiences People Love
moore
143
24k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
430
The untapped power of vector embeddings
frankvandijk
2
1.9k
How to make the Groovebox
asonas
2
2.4k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
520
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