10 Feb
2023
10 Feb
'23
9:42 a.m.
On Wed Feb 8 12:28:36 2023 +0000, Jinoh Kang wrote:
I believe that an atomic operation with acquire/release semantics needs to be accompanied by documentation that explains which corresponding operation with release/acquire semantics it is paired with, at both sides. See `GetOverlappedResult` in Wine, or the Linux kernel source tree for details. ```suggestion:-0+0 /* paired with WriteRelease in bin_try_enable. */ if (!ReadAcquire( &bin->enabled )) return STATUS_UNSUCCESSFUL; ``` Done.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1628#note_23709