summaryrefslogtreecommitdiff
path: root/anim/src/ui.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-10 13:00:24 -0300
committerGabriel Schneider <[email protected]>2026-11-10 13:03:12 -0300
commit950d4c0373d19d905eb89a521ff3d4c1e9910dea (patch)
tree7130ce51bc19e921689adc1809c0ca69066cf2c0 /anim/src/ui.zig
parent8b28a0a5101a62fd55c2d55433e0fa899d4623f9 (diff)
downloadcomputeranim-950d4c0373d19d905eb89a521ff3d4c1e9910dea.tar.gz
computeranim-950d4c0373d19d905eb89a521ff3d4c1e9910dea.zip
ring: a stale head is not a full ring
emit compared a head loaded earlier with a tail read later: when other producers reserved and the consumer consumed in between, the tail was past it and the subtraction underflowed. A panic in safe builds (the ring's own thread test aborted twice in 200 runs; a debug agent in a threaded target would die the same way), a spurious wait otherwise. Saturating: not full, and the exchange that follows fails and reloads. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Diffstat (limited to 'anim/src/ui.zig')
0 files changed, 0 insertions, 0 deletions