Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 689
What happens if an async task calls std::thread::sleep(Duration::from_secs(5))?
A
Tokio converts it to tokio::time::sleep
B
Only that task pauses
C
It panics
D
It blocks the runtime worker thread, stalling every other task scheduled on it