mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-27 13:58:20 +00:00
7d871ca75f6fdcdde913593360a9254f05116e68
There was a window where a thread could get stolen from a CPU but never enqueued, since IPL doesn't stay raised the whole time, and the CPU could therefore get preempted. Keep IPL raised across the whole operation until the thread is enqueued.
Description
Languages
Zig
97.8%
Assembly
1.5%
Linker Script
0.7%