Set thread names for better debugging

This commit is contained in:
SChernykh
2025-03-13 11:19:58 +01:00
parent 37e8cc01cf
commit d1dd95d9c9
10 changed files with 59 additions and 0 deletions

View File

@@ -404,6 +404,8 @@ void MergeMiningClientJSON_RPC::loop(void* data)
{
LOGINFO(1, "event loop started");
set_thread_name("MM JSON RPC");
MergeMiningClientJSON_RPC* client = static_cast<MergeMiningClientJSON_RPC*>(data);
int err = uv_run(&client->m_loop, UV_RUN_DEFAULT);