On Tue Nov 1 17:57:43 2022 +0000, Piotr Caban wrote:
I still don't get it. Could you please describe the problem you're fixing with more details? Do you see a crash in Windows application?
The application loads two different a.so b.so, they define the global variable g_t with the same name. When dynamically linked, only one g_t is recorded in the global symbol table. Caused the address of one of the variables to be overwritten, which caused an unpredictable error. _Condition_variable_notify_one and DEFINE_THISCALL_WRAPPER(_Condition_variable_notify_one, 4) define two var of same name in different file。