Module: wine Branch: master Commit: 8f6b8e97c2e7f01909df3ae77edef33fac026097 URL: https://gitlab.winehq.org/wine/wine/-/commit/8f6b8e97c2e7f01909df3ae77edef33...
Author: Brendan Shanks bshanks@codeweavers.com Date: Mon Sep 26 14:09:34 2022 -0700
sechost: Set the name of internal threads.
---
dlls/sechost/service.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/dlls/sechost/service.c b/dlls/sechost/service.c index 1026f2df851..cb5e140b3cf 100644 --- a/dlls/sechost/service.c +++ b/dlls/sechost/service.c @@ -1288,6 +1288,8 @@ static DWORD WINAPI notify_thread(void *user) SERVICE_NOTIFY_STATUS_CHANGE_PARAMS_2 *cparams; BOOL dummy;
+ SetThreadDescription(GetCurrentThread(), L"wine_sechost_notify_service_status"); + __TRY { /* GetNotifyResults blocks until there is an event */ @@ -1585,6 +1587,7 @@ static DWORD WINAPI service_thread( void *arg ) DWORD argc = 0, len = 0;
TRACE("%p\n", arg); + SetThreadDescription(GetCurrentThread(), L"wine_sechost_service");
while (str[len]) { @@ -2021,6 +2024,8 @@ static DWORD WINAPI device_notify_proc( void *arg ) unsigned int i, size; BYTE *buf;
+ SetThreadDescription( GetCurrentThread(), L"wine_sechost_device_notify" ); + if ((err = RpcStringBindingComposeW( NULL, protseq, NULL, endpoint, NULL, &binding_str ))) { ERR("RpcStringBindingCompose() failed, error %#lx\n", err);