upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/github-metadata-export.md
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-11-29 12:23:45 +0000
committerClaude <noreply@anthropic.com>2026-11-29 12:23:45 +0000
commitee27e871966c01d59c0cbc36468fa7f7cf51f33f (patch)
tree08349ef62d3a80cdaeaeb48236f17855a4d36124 /docs/github-metadata-export.md
parente567c5cbb9dcba61c992bea700bdaaa22152f6c8 (diff)
render-target reserve: one lock over the settle record (opt-in branch only)
merzleckeier (#2589, 11:55): targets_room_kept read the growth record (GREW) and the given-up flag, computed, then stored them back as separate atomics. A caller delayed between its read and its store put back an older record: with synchronized threads the reserve kept 0 MiB where 709 were due. Not seen in game. The record, the flag, and the targets' bytes and the time they are compared with are now read, computed and stored under one Mutex, so no store can go back in time. The default (setting 0) returns before the lock and stays lock-free. Tested: cargo check -p leonida-gpu --target x86_64-pc-windows-gnu (MinGW) passes with the same 19 warnings as before; the function is Windows-only and was not run. Not done: a threaded test of the race. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDMsHtPdJ5kt8t7A5i2fzu
Diffstat (limited to 'docs/github-metadata-export.md')
0 files changed, 0 insertions, 0 deletions