mirror of
https://github.com/valentderah/totk-pc-recomp.git
synced 2026-11-22 05:05:56 +00:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
b578d26628
commit
0f4e0af554
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user