Merge pull request #234 from ReOne21/patch-1

Remove SetThreadDescription calls
This commit is contained in:
ConfiG 2023-09-11 03:19:15 +03:00 committed by GitHub
commit fe14737ee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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");