12 Nov
2023
12 Nov
'23
4:26 p.m.
Based on the docs https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-ini... and https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-ent..., i think that `SpinCount` and `Flags` do not affect behavior in this implement and can be safely ignored. The return value of `EnterSynchronizationBarrier` does not an error, but rather whether it was the last barrier invoked. I'm not familiar with how `NTSTATUS` should be handled here, do i need to forward it manually in `kernelbase`? Barrier can only be used once. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4372#note_52072