mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-19 14:23:34 +00:00
9ed272ce98
There was a race window between instantiating a WaitQueueBlocker and setting the thread state to Blocked. If a thread was preempted between those steps, someone else might try to wake the wait queue and find an unblocked thread in a wait queue, which is not sane. |
||
---|---|---|
.. | ||
Boot | ||
APIC.cpp | ||
APIC.h | ||
CPU.cpp | ||
CPU.h | ||
PIC.cpp | ||
PIC.h | ||
PIT.cpp | ||
PIT.h |