Aug. 4, 2023
9:19 a.m.
Jinoh Kang (@iamahuman) commented about server/queue.c:
static cursor_pos_t cursor_history[64]; static unsigned int cursor_history_latest;
+#if defined(__i386__) || defined(__x86_64__) + +#define SHARED_WRITE_BEGIN( object, type ) \ + do { \ + type *shared = (type *)(object)->shared; \ + shared->seq++; \ (Maybe we could assert that the LSB of `seq` is 0 here, to catch erroneous nested writes.)
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3103#note_41379