Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-16 Thread Kai Tietz
2013/11/15 Victor Bombi son...@telefonica.net: thanks for answering. Nothing is trivial for me using pthreads. I just need that to compile code made by others that I would not like to change. I added at revision 6370 to trunk the function pthread_attr_getschedpolicy and

Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented

2013-11-16 Thread Victor Bombi
Thanks alot - Original Message - From: Kai Tietz ktiet...@googlemail.com To: mingw-w64-public@lists.sourceforge.net Sent: Saturday, November 16, 2013 1:21 PM Subject: Re: [Mingw-w64-public] pthread_attr_setschedpolicy not implemented 2013/11/15 Victor Bombi son...@telefonica.net:

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread Ruben Van Boxem
2013/11/16 Victor Bombi son...@telefonica.net Is there any plan to write this headers on top of win32 api? No, and any efficient implementation will remove Windows XP compatibility. Winpthreads is implemented on top of the Win32 API, and GCC's internal thread API is pretty much a pthreads

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread Ruben Van Boxem
2013/11/16 Victor Bombi son...@telefonica.net the information provided here http://qt-project.org/wiki/MinGW-64-bit could be then confusing or inacurate? If Qt people say there might be a performance degradation (I read the web page to only talk about C++11 threading features), then I

Re: [Mingw-w64-public] C++11 threading with non-posix versions

2013-11-16 Thread K. Frank
Hello Victor (and Ruben)! On Sat, Nov 16, 2013 at 10:39 AM, Ruben Van Boxem ru...@box.mail wrote: 2013/11/16 Victor Bombi bo...@away.net the information provided here http://qt-project.org/wiki/MinGW-64-bit could be then confusing or inacurate? If Qt people say there might be a performance

[Mingw-w64-public] [PATCH 1/5] gai_strerrorA: reimplement without FormatMessageA (forbidden in Windows Store)

2013-11-16 Thread Rafaël Carré
--- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c b/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c index 8f7f679..956f84f 100644 ---

[Mingw-w64-public] [PATCH 4/5] winstorecompat: *QueueTimer replacements (deactivated for now)

2013-11-16 Thread Rafaël Carré
--- mingw-w64-libraries/winstorecompat/Makefile.am | 1 + .../winstorecompat/src/QueueTimer.c| 49 ++ 2 files changed, 50 insertions(+) create mode 100644 mingw-w64-libraries/winstorecompat/src/QueueTimer.c diff --git

[Mingw-w64-public] Windows 8 Store patches

2013-11-16 Thread Rafaël Carré
Hello, As you probably know we have been working on VLC for Windows Store for a long time already. Here are the latest patches we have to be able to build vlc.git without using forbidden symbols that would fail us at the validation step, using Microsoft Windows App Cert Kit (WACK). Those are

[Mingw-w64-public] [PATCH 5/5] Fix declarations in headers

2013-11-16 Thread Rafaël Carré
--- mingw-w64-headers/include/combaseapi.h | 2 +- mingw-w64-headers/include/shobjidl.h | 3 ++- mingw-w64-headers/include/winbase.h| 2 +- mingw-w64-headers/include/winnls.h | 6 +++--- mingw-w64-headers/include/ws2tcpip.h | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-)

[Mingw-w64-public] [PATCH 2/5] More Windows Store forbidden APIs

2013-11-16 Thread Rafaël Carré
--- mingw-w64-headers/include/shellapi.h | 4 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/include/shellapi.h b/mingw-w64-headers/include/shellapi.h index c036978..4d3a2ef 100644 --- a/mingw-w64-headers/include/shellapi.h +++ b/mingw-w64-headers/include/shellapi.h @@

[Mingw-w64-public] [PATCH 3/5] Reimplement SHGetFolderPathW using WinRT functions

2013-11-16 Thread Rafaël Carré
From: Jean-Baptiste Kempf j...@videolan.org --- .../winstorecompat/src/SHGetFolderPathW.c | 110 +++-- 1 file changed, 104 insertions(+), 6 deletions(-) diff --git a/mingw-w64-libraries/winstorecompat/src/SHGetFolderPathW.c

Re: [Mingw-w64-public] Windows 8 Store patches

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 19:03, Rafaël Carré a écrit : Hello, As you probably know we have been working on VLC for Windows Store for a long time already. Here are the latest patches we have to be able to build vlc.git without using forbidden symbols that would fail us at the validation step, using

Re: [Mingw-w64-public] [PATCH 2/5] More Windows Store forbidden APIs

2013-11-16 Thread Kai Tietz
Patch is ok. Thanks, Kai 2013/11/16 Rafaël Carré fun...@videolan.org: --- mingw-w64-headers/include/shellapi.h | 4 1 file changed, 4 insertions(+) diff --git a/mingw-w64-headers/include/shellapi.h b/mingw-w64-headers/include/shellapi.h index c036978..4d3a2ef 100644 ---

Re: [Mingw-w64-public] [PATCH 1/5] gai_strerrorA: reimplement without FormatMessageA (forbidden in Windows Store)

2013-11-16 Thread Kai Tietz
2013/11/16 Rafaël Carré fun...@videolan.org: --- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c b/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c index

Re: [Mingw-w64-public] [PATCH 5/5] Fix declarations in headers

2013-11-16 Thread Kai Tietz
2013/11/16 Rafaël Carré fun...@videolan.org: --- mingw-w64-headers/include/combaseapi.h | 2 +- mingw-w64-headers/include/shobjidl.h | 3 ++- mingw-w64-headers/include/winbase.h| 2 +- mingw-w64-headers/include/winnls.h | 6 +++--- mingw-w64-headers/include/ws2tcpip.h | 2 +- 5

Re: [Mingw-w64-public] [PATCH 2/5] More Windows Store forbidden APIs

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 22:37, Kai Tietz a écrit : Patch is ok. Thanks, Kai Applied as r6372, thanks -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and

Re: [Mingw-w64-public] [PATCH 1/5] gai_strerrorA: reimplement without FormatMessageA (forbidden in Windows Store)

2013-11-16 Thread Rafaël Carré
Le 16/11/2013 22:40, Kai Tietz a écrit : 2013/11/16 Rafaël Carré fun...@videolan.org: --- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c

Re: [Mingw-w64-public] [PATCH 3/5] Reimplement SHGetFolderPathW using WinRT functions

2013-11-16 Thread Jean-Baptiste Kempf
On 16 Nov, Kai Tietz wrote : Looks reasonable for me. Did this piece of code got tested? Yes, a long time ago. More testing is indeed advised before pushing. With my kindest regards, -- Jean-Baptiste Kempf http://www.jbkempf.com/ - +33 672 704 734 Sent from my Electronic Device

[Mingw-w64-public] [PATCH 1/2] Keep CreateSemaphore(W) prototype on Windows Store builds, if WINSTORECOMPAT is defined

2013-11-16 Thread Rafaël Carré
--- mingw-w64-headers/include/winbase.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/winbase.h b/mingw-w64-headers/include/winbase.h index 93a0eb6..30acd12 100644 --- a/mingw-w64-headers/include/winbase.h +++

[Mingw-w64-public] [PATCH] gai_strerrorA: reimplement without FormatMessageA

2013-11-16 Thread Rafaël Carré
(forbidden in Windows Store) --- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c b/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c index 8f7f679..ebdc06a 100644 ---

Re: [Mingw-w64-public] [PATCH 2/2] CoCreateInstance / CoCreateInstanceEx: force inlining on Windows Store

2013-11-16 Thread Kai Tietz
Ok, thanks, Kai 2013/11/16 Rafaël Carré fun...@videolan.org: Avoid multiple symbol definitions when linking several .o together --- mingw-w64-headers/include/combaseapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-headers/include/combaseapi.h

Re: [Mingw-w64-public] [PATCH] gai_strerrorA: reimplement without FormatMessageA

2013-11-16 Thread Kai Tietz
Patch is fine. Please apply. Kai 2013/11/16 Rafaël Carré fun...@videolan.org: (forbidden in Windows Store) --- mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mingw-w64-crt/libsrc/ws2tcpip/gai_strerrorA.c