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
Tokio preempts it automatically
B
It is cancelled after 10 ms
C
It monopolizes its worker thread, starving other tasks on it (cooperative scheduling)
D
It runs on a dedicated thread