June 19, 2023
1:22 p.m.
Jinoh Kang (@iamahuman) commented about dlls/win32u/ntuser_private.h:
BOOL is_child( HWND parent, HWND child ) DECLSPEC_HIDDEN; BOOL is_window( HWND hwnd ) DECLSPEC_HIDDEN;
+#if defined(__i386__) || defined(__x86_64__) +#define __SHARED_READ_SEQ( x ) (*(x)) +#define __SHARED_READ_FENCE do {} while(0) A compiler barrier is (still) required regardless of whether or not the underlying architecture has strong memory ordering semantics.
```suggestion:-0+0 #define __SHARED_READ_FENCE __asm__ __volatile__( "" ::: "memory" ); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3103#note_36119