11 Jan
2024
11 Jan
'24
2:32 p.m.
On Thu Jan 11 13:37:25 2024 +0000, Giovanni Mascellani wrote:
Both the platforms we support have static mutex initializers, we can just define them in the header. We can also add support for `InitializeOnce()` and `pthread_once()`, of course, but the static initializer seems better to me. Also notice that we have platform-independent functions `vkd3d_atomic_increment()` and similar. !384 has a static mutex initializer, `VKD3D_MUTEX_INITIALIZER`
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/541#note_57188