5 lines
281 B
Markdown
5 lines
281 B
Markdown
|
|
|
|
## Why is **disabling preemption** while a low-priority thread is in a critical section considered a poor solution?
|
|
|
|
🚫 Because it stops **all** other high-priority threads from running, even those that have **nothing to do** with the critical section or the lock in question.
|