From 0f4e0af554f34aa4c04999da6420d0c9d6389605 Mon Sep 17 00:00:00 2001 From: Valiantsin Dzerakh Date: Fri, 6 Nov 2026 16:24:56 +0300 Subject: [PATCH] Declare the recorder queue's put_h field by its own name, which the move into Q had rewritten as Q.put_h. Co-Authored-By: Claude Opus 5.5 --- runtime/vk_rec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/vk_rec.c b/runtime/vk_rec.c index 95a4463f..036fe370 100644 --- a/runtime/vk_rec.c +++ b/runtime/vk_rec.c @@ -27,7 +27,7 @@ static struct { _Alignas(64) volatile uint64_t head; // words published by the producer; the recorder reads it _Alignas(64) volatile uint64_t tail; // words consumed by the recorder; the producer reads it when it seems full _Alignas(64) volatile int32_t sleeping; // the recorder waits for wake_ev; written only around a sleep - _Alignas(64) uint64_t Q.put_h; // producer only: words written + _Alignas(64) uint64_t put_h; // producer only: words written uint64_t pub_h; // the last head published uint64_t tail_seen; // tail as last read, at most the real one: the room it leaves is there uint64_t pub_words; // TOTK_REC_PUB: publish head once this many words wait (pub)