Practice
Learn
← Quit
0 / 0 correct
Rust
Hard
1 of 20
A Tokio task runs a CPU-heavy loop for 2 seconds without awaiting. What's the effect?
A
It runs on a dedicated thread
B
Tokio preempts it automatically
C
It is cancelled after 10 ms
D
It monopolizes its worker thread, starving other tasks on it (cooperative scheduling)