Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Thinktecture Webinar async/await in .NET
Search
Sebastian Gingter
August 31, 2021
Programming
0
670
Thinktecture Webinar async/await in .NET
Slides for my webinar about async/await in .NET.
Sebastian Gingter
August 31, 2021
Tweet
Share
More Decks by Sebastian Gingter
See All by Sebastian Gingter
DDC 2025: p"AI"r Programming statt Vibe-Coding
phoenixhawk
0
28
EKON 2025 - Agents
phoenixhawk
0
50
EKON 2025 AI Coding
phoenixhawk
0
52
BASTA! 2025: Agents in Action: LLM's, Tools and Reasoning
phoenixhawk
0
49
From Zero to Hero: How to put GPT LLMs & Friends into your Applications
phoenixhawk
0
120
DWX 2025 - Talk to your data
phoenixhawk
0
31
BASTA! Spring 2025 - Halluzinationen, Prompt Injections & Co.
phoenixhawk
0
140
SEACON 2024 - Talk to your Data
phoenixhawk
0
170
MLCon 2024 - Bootcamp: Conquer and Rule Generative AI
phoenixhawk
0
190
Other Decks in Programming
See All in Programming
Graviton と Nitro と私
maroon1st
0
140
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
730
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
150
AI 駆動開発ライフサイクル(AI-DLC):ソフトウェアエンジニアリングの再構築 / AI-DLC Introduction
kanamasa
11
3.9k
AIコーディングエージェント(Manus)
kondai24
0
210
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
300
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
190
AtCoder Conference 2025
shindannin
0
530
AIコーディングエージェント(NotebookLM)
kondai24
0
230
PC-6001でPSG曲を鳴らすまでを全部NetBSD上の Makefile に押し込んでみた / osc2025hiroshima
tsutsui
0
180
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
190
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
130
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
120
Balancing Empowerment & Direction
lara
5
820
HDC tutorial
michielstock
0
270
Mind Mapping
helmedeiros
PRO
0
39
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
230
A Tale of Four Properties
chriscoyier
162
23k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Typedesign – Prime Four
hannesfritz
42
2.9k
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