diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:28 +0200 |
| commit | 69344560ea394c06ca94acac46a2e4c3e8b7b229 (patch) | |
| tree | ebc98370a697a9bbd6b973a14fa5113c475c6db7 /map65/libm65/stdout_shared_layout.h | |
| parent | 3e9d10a67671d0bd5c7b8c3ca8088f1818322eff (diff) | |
| parent | 059831534c7e884f0a607ed86b582fd00d821731 (diff) | |
Update upstream source from tag 'upstream/3.2.0_rc1+dfsg'
Update to upstream version '3.2.0~rc1+dfsg'
with Debian dir dbff457fd2c3616d5c77b863c7bfb2186ed86047
Diffstat (limited to 'map65/libm65/stdout_shared_layout.h')
| -rw-r--r-- | map65/libm65/stdout_shared_layout.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/map65/libm65/stdout_shared_layout.h b/map65/libm65/stdout_shared_layout.h index c45d8852..4564678e 100644 --- a/map65/libm65/stdout_shared_layout.h +++ b/map65/libm65/stdout_shared_layout.h @@ -7,7 +7,10 @@ struct StdoutSharedHeader { std::uint32_t version; // For compatibility std::uint32_t writeIndex; // Next write position in buffer - std::uint32_t dataSize; // Bytes of new data just written + std::uint32_t readIndex; // Last position consumed by the reader thread; + // the writer uses this to compute free space + // and apply backpressure instead of + // overwriting unread data. std::uint32_t seq; // Incremented each write (helps detect missed events) }; |
