mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
c55beec8937942dcf15ee8cddb06a978729d128b
There was previously a lock inversion in the queue code where we acquired the queue lock under the thread lock (in the wait_any committing path). This patch attempts to fix this by instead using an atomic count and deferring the waking of other threads to a DPC.
Description
Languages
Zig
97.8%
Assembly
1.5%
Linker Script
0.7%