mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-28 23:44:17 +00:00
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.