Changes were applied on top of the bb8673e5f137300b018d1dcdeab1c28c1d292e97
Pali Rohár (16):
winpthreads: Deduplicate code for testing validity of WinAPI handles
winpthreads: Make TEST_HANDLE compatible with UWP and Win9x
winpthreads: Fix usage of VectoredExceptionHandler
winpthreads: Always try to use VectoredExceptionHandler when is
available and then fallback to SEH
winpthreads: Fix compile warning: "CHAR_BIT" redefined
winpthreads: Fix compile warning about unknown option prio-ctor-dtor
winpthreads: Fill OS type into the PE DLL resource section
winpthreads: Fill correct OriginalFilename and InternalName into the
PE DLL resource section
winpthreads: Fill VS_FF_DEBUG flag into the PE DLL resource section
for debug builds
winpthreads: Remove extra duplicate trailing nul bytes from strings in
the PE DLL resource section
winpthreads: Load SetThreadDescription from kernel32.dll too
winpthreads: Fix WINPTHREADS_TIME_BITS
winpthreads: Use correct uppercase boolean constants for WinAPI
functions
winpthreads: Use WINPTHREADS_INLINE instead of inline
winpthreads: Replace StringCchCopyNA() by simple memcpy() in
pthread_getname_np()
winpthreads: tests: Add test for pthread_getname_np() and
pthread_setname_np()
.../winpthreads/include/pthread_compat.h | 2 +-
.../winpthreads/src/libgcc/dll_math.c | 2 +
mingw-w64-libraries/winpthreads/src/misc.c | 18 ++--
mingw-w64-libraries/winpthreads/src/misc.h | 32 ++++--
mingw-w64-libraries/winpthreads/src/mutex.c | 9 +-
mingw-w64-libraries/winpthreads/src/thread.c | 99 +++++++------------
.../winpthreads/src/version.rc | 29 +++---
.../winpthreads/src/wpth_ver.h | 3 +-
.../winpthreads/tests/Makefile.am | 1 +
.../winpthreads/tests/pthread_misc/name.c | 28 ++++++
10 files changed, 121 insertions(+), 102 deletions(-)
create mode 100644 mingw-w64-libraries/winpthreads/tests/pthread_misc/name.c
--
2.20.1
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public