Quiz · 3 questions
⚡ Concurrency — Async, Threads, Processes
asyncio / threading / multiprocessing / GIL
Level 0Curious
0 XP0/93 lessons0/23 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01Why does threading not give true parallelism for CPU-bound work in CPython?
Hint
What does the GIL actually lock?
02What does forgetting
await on an async function call do?Hint
What does
f() return when f is async def?03When should you reach for multiprocessing instead of asyncio?
Hint
What's the asyncio limitation that processes solve?
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.