Actions
Bug #13845
closedthread_win32.c: set thread name breaking mswin builds on appveyor and at rubyci
Description
The commit svn 59660 thread_win32.c: set thread name is breaking builds on both appveyor and at rubyci.
It appears to be using a function that is only supported on Windows 10, version 1607 (desktop apps only) and Windows Server 2016 (desktop apps only). See SetThreadDescription.
If there's logic to determine OS version, it appears to not be working correctly. If ruby core has decided that trunk use should be restricted to these OS versions, please let everyone know.
Otherwise, when someone has time, please correct this issue. This is also causing failures on MinGW builds. Again, thanks for everyone's work.
Updated by nobu (Nobuyoshi Nakada) over 6 years ago
- Status changed from Open to Closed
Applied in changeset trunk|r59678.
win32.c: fix function pointer
- win32/win32.c (rb_w32_set_thread_description): fix the condition
if the API function pointer is found.
[ruby-core:82494] [Bug #13845]
Actions
Like0
Like0