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_FENCE( x ) ++(x) +#else +#define __SHARED_WRITE_FENCE( x ) __atomic_add_fetch( &(x), 1, __ATOMIC_RELEASE ) +#endif
Unlike `__SHARED_READ_FENCE`, this is not a pure fence instruction.
```suggestion:-4+0 #if defined(__i386__) || defined(__x86_64__) #define __INCR_SHARED_WRITE_SEQ( x ) ++(x) #else #define __INCR_SHARED_WRITE_SEQ( x ) __atomic_add_fetch( &(x), 1, __ATOMIC_RELEASE ) #endif ```