I'm not sure about the need for this solution, so it's a **DRAFT**. For me it is an academic interest to check whether atomic locks will give advantages over pthread_mutex in games. First impressions are that games have become smoother, but need to think about tests that can actually be measured.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6031
The sequence lives in the object header, and the object is containing
the shm struct. The code was reading before the dummy_shm variable and
sometimes asserted that the sequence isn't initialized to zero.
Fixes a random wineserver crash, sorry about that.
--
v2: server: Use a shared_object_t for the dummy object.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6037
The sequence lives in the object header, which is containing the shm
struct. The code was reading before the dummy_shm variable and sometimes
asserted that the sequence isn't initialized to zero.
Fixes a random wineserver crash, sorry about that.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6037
On Thu Jun 27 01:11:28 2024 +0000, Zhiyi Zhang wrote:
> > It fails on asserting return value of sending LVM_GETNEXTITEM message
> In that case, please also add a test checking the same thing.
Hi, could you add a test?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5909#note_75710