mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-08 00:50:32 +00:00
163c9d5f8f
The short-circuit path added for waiting on a queue that already had a pending wake was able to return with interrupts disabled, which breaks the API contract of wait_on() always returning with IF=1. Fix this by adding a way to override the restored IF in ScopedCritical. |
||
---|---|---|
.. | ||
i386 | ||
PC |