3 Nov
2023
3 Nov
'23
12:42 p.m.
Zebediah Figura (@zfigura) commented about dlls/ntdll/signal_x86_64.c:
*/ void WINAPI LdrInitializeThunk( CONTEXT *context, ULONG_PTR unk2, ULONG_PTR unk3, ULONG_PTR unk4 ) { + if (NtCurrentTeb()->WowTebOffset) + InterlockedCompareExchangePointer( (void * volatile *)&p_dispatch_wow_exception_thunk, + dispatch_wow_exception_thunk, NULL ); Can the global variable not just be initialized?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4290#note_50826