Re: [Mingw-w64-public] [PATCH 5/5] crt: arm: Add implementations of remainder and remquo for msvcrt

2019-04-12 Thread Martin Storsjö
On Wed, 10 Apr 2019, Martin Storsjö wrote: --- mingw-w64-crt/Makefile.am | 12 + mingw-w64-crt/math/arm-common/remainder.c | 14 ++ mingw-w64-crt/math/arm-common/remainderf.c | 14 ++ mingw-w64-crt/math/arm-common/remainderl.c | 17 mingw-w64-cr

Re: [Mingw-w64-public] [PATCH] lib-common: Add api-ms-win-core-com-l1-1-0 library

2019-04-12 Thread Martin Storsjö
On Fri, 12 Apr 2019, Hugo Beauzée-Luyssen wrote: Hi, CLSIDFromProgID, CoAddRefServerProcess, CoAllowUnmarshalerCLSID (at least) don't seem to be available when targeting UWP And some of the symbols that you're adding to l1-1-1 are already defined in l1-1-0 I agree that the documentation stat

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

2019-04-12 Thread Andrew Ng
Sorry about that. I was hoping that a ".diff" file might make it through to the mailing list, as I thought that I had seen other such file attachments in some of the other messages. I'll stick to ".txt" files from now ;) Cheers, Andrew On Fri, 12 Apr 2019 at 23:46, JonY via Mingw-w64-public < min

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

2019-04-12 Thread Liu Hao
在 2019/4/12 22:45, JonY via Mingw-w64-public 写道: > On 4/12/19 1:49 AM, Andrew Ng wrote: >> 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, t

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

2019-04-12 Thread JonY via Mingw-w64-public
On 4/12/19 1:49 AM, Andrew Ng wrote: > 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"

Re: [Mingw-w64-public] [PATCH] lib-common: Add api-ms-win-core-com-l1-1-0 library

2019-04-12 Thread Biswapriyo Nath
Agree with you. Waiting for Martin's decision. On Friday, April 12, 2019, Hugo Beauzée-Luyssen wrote: ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Re: [Mingw-w64-public] [PATCH 1/2] pthread_unistd.h: Don't define _POSIX_THREAD_SAFE_FUNCTIONS.

2019-04-12 Thread Martin Storsjö
On Fri, 12 Apr 2019, Jacek Caban wrote: Leave it up to time.h. Signed-off-by: Jacek Caban --- .../winpthreads/include/pthread_unistd.h | 20 --- 1 file changed, 20 deletions(-) Sounds sensible, hopefully this doesn't cause other fallout regarding other functions mention

Re: [Mingw-w64-public] [PATCH 2/2] time.h: Use __forceinline for *_r functions.

2019-04-12 Thread Martin Storsjö
On Fri, 12 Apr 2019, Jacek Caban wrote: This partially reverts 6988d73a95fbbd97a0bdbb517008cf18f4eb5f02. Some projects have their own static inline implementations that conflict with ours. Signed-off-by: Jacek Caban --- mingw-w64-headers/crt/time.h | 8 1 file changed, 4 insertions

[Mingw-w64-public] [PATCH 1/2] pthread_unistd.h: Don't define _POSIX_THREAD_SAFE_FUNCTIONS.

2019-04-12 Thread Jacek Caban
Leave it up to time.h. Signed-off-by: Jacek Caban --- .../winpthreads/include/pthread_unistd.h | 20 --- 1 file changed, 20 deletions(-) diff --git a/mingw-w64-libraries/winpthreads/include/pthread_unistd.h b/mingw-w64-libraries/winpthreads/include/pthread_unistd.h index

[Mingw-w64-public] [PATCH 2/2] time.h: Use __forceinline for *_r functions.

2019-04-12 Thread Jacek Caban
This partially reverts 6988d73a95fbbd97a0bdbb517008cf18f4eb5f02. Some projects have their own static inline implementations that conflict with ours. Signed-off-by: Jacek Caban --- mingw-w64-headers/crt/time.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mingw

Re: [Mingw-w64-public] [PATCH] lib-common: Add api-ms-win-core-com-l1-1-0 library

2019-04-12 Thread Hugo Beauzée-Luyssen
Hi, CLSIDFromProgID, CoAddRefServerProcess, CoAllowUnmarshalerCLSID (at least) don't seem to be available when targeting UWP And some of the symbols that you're adding to l1-1-1 are already defined in l1-1-0 I agree that the documentation states they have been moved there starting in 16299 thou

[Mingw-w64-public] [PATCH] lib-common: Add api-ms-win-core-com-l1-1-0 library

2019-04-12 Thread Biswapriyo Nath
... From 22d5728789eb81f34ed70e03def1524efa36d5d5 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Fri, 12 Apr 2019 15:55:44 +0530 Subject: [PATCH] lib-common: Add api-ms-win-core-com-l1-1-0 library Signed-off-by: Biswapriyo Nath --- mingw-w64-crt/Makefile.am | 2 + min