25 Jan
2023
25 Jan
'23
12:19 p.m.
Piotr Caban (@piotr) commented about dlls/msvcrt/concurrency.c:
ret->context = Context_CurrentContext(); return ret; } + +DEFINE_THISCALL_WRAPPER(_Context_IsSynchronouslyBlocked, 4) +BOOL __thiscall _Context_IsSynchronouslyBlocked(const _Context *this)
I don't think it's a good idea to stub functions related to synchronization. Do you know what will it take to implement it properly? Maybe it would be enough to introduce a simple wrapper around RtlWaitOnAddress that will store information if the context is blocked. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1979#note_21773