+
+ /* wrap counter. We need it to reliably signal to clients that we just
+ * wrapped (clients cannot use offset_last_wrap because that might
+ * coincidentally be exactly the same as previously). Overflows can happen
+ * and don’t matter — clients use an equality check (==). */
+ uint32_t wrap_count;
+
+ /* pthread condvar which will be broadcasted whenever there is a new
+ * message in the log. i3-dump-log uses this to implement -f (follow, like
+ * tail -f) in an efficient way. */
+ pthread_cond_t condvar;