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.