Re: [Mingw-w64-public] [PATCH] Fix potential deadlock in pthread condition variable

2019-04-11 Thread Andrew Ng
I have attached a minimal patch that fixes the deadlock issue. The principle change to avoid deadlock, is to not wait whilst holding the "waiters count lock". Because of this change to the locking, there is an additional case required in the "signal" and "broadcast" functions which handles when th

[Mingw-w64-public] [PATCH] include/ntsecapi.h: Add missing `__stdcall` specifiers.

2019-04-11 Thread Liu Hao
This commit adds `__stdcall` to the following functions: RtlGenRandom() RtlEncryptMemory() RtlDecryptMemory() Absence of these specifiers used to cause undefined references to `SystemFunction036` when compiling the following code for x86: #include #include int main(voi

Re: [Mingw-w64-public] [PATCH] winstorecompat: Remove no longer needed _wassert.

2019-04-11 Thread Martin Storsjö
On Thu, 11 Apr 2019, Jacek Caban wrote: We no longer have the problematic _wassert in mingwex. Signed-off-by: Jacek Caban --- .../winstorecompat/Makefile.am| 1 - .../winstorecompat/src/_wassert.c | 50 --- 2 files changed, 51 deletions(-) delete mode

[Mingw-w64-public] [PATCH] winstorecompat: Remove no longer needed _wassert.

2019-04-11 Thread Jacek Caban
We no longer have the problematic _wassert in mingwex. Signed-off-by: Jacek Caban --- .../winstorecompat/Makefile.am| 1 - .../winstorecompat/src/_wassert.c | 50 --- 2 files changed, 51 deletions(-) delete mode 100644 mingw-w64-libraries/winstoreco

Re: [Mingw-w64-public] [PATCH 5/5] lib-common: Add missing functions to api-ms-core-file-l1-2-1

2019-04-11 Thread Liu Hao
在 2019/4/10 21:12, Hugo Beauzée-Luyssen 写道: > --- > .../lib-common/api-ms-win-core-file-l1-2-1.def | 12 > 1 file changed, 12 insertions(+) > Thanks, I pushed these 11 patches. Apologize for this late response. -- Best regards, LH_Mouse _