From 2d2bdd16bc1903a3aa8a095e229a6a80a841bda5 Mon Sep 17 00:00:00 2001 From: Gleb <68414943+ReOne21@users.noreply.github.com> Date: Mon, 11 Sep 2023 05:18:24 +0500 Subject: [PATCH] Remove SetThreadDescription calls Remove SetThreadDescription calls to restore Windows 7 compatibility --- loader/src/platform/windows/LoaderImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/src/platform/windows/LoaderImpl.cpp b/loader/src/platform/windows/LoaderImpl.cpp index a3f632eb..df77a0a9 100644 --- a/loader/src/platform/windows/LoaderImpl.cpp +++ b/loader/src/platform/windows/LoaderImpl.cpp @@ -126,7 +126,7 @@ void Loader::Impl::setupIPC() { if (ConnectNamedPipe(pipe, nullptr)) { // log::debug("Got connection, creating thread"); std::thread pipeThread(&ipcPipeThread, pipe); - SetThreadDescription(pipeThread.native_handle(), L"Geode IPC Pipe"); + // SetThreadDescription(pipeThread.native_handle(), L"Geode IPC Pipe"); pipeThread.detach(); } else { @@ -135,7 +135,7 @@ void Loader::Impl::setupIPC() { } } }); - SetThreadDescription(ipcThread.native_handle(), L"Geode Main IPC"); + // SetThreadDescription(ipcThread.native_handle(), L"Geode Main IPC"); ipcThread.detach(); log::debug("IPC set up");