aboutsummaryrefslogtreecommitdiff
path: root/util/osdep.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-09-13 21:53:20 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-10-12 19:21:31 +0400
commit4db99c9d9cb6ab6290f14609e23d079219102742 (patch)
tree8a74ab3f0ae33072917fbe485c1f6680604469fe /util/osdep.c
parentab44ea1059242ff2dbbde44e94468f6c6e5f87be (diff)
win32: set threads name
As described in: https://learn.microsoft.com/en-us/visualstudio/debugger/how-to-set-a-thread-name-in-native-code?view=vs-2022 SetThreadDescription() is available since Windows 10, version 1607 and in some versions only by "Run Time Dynamic Linking". Its declaration is not yet in mingw, so we lookup the function the same way glib does. Tested with Visual Studio Community 2022 debugger. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'util/osdep.c')
0 files changed, 0 insertions, 0 deletions