PINE: Give the server thread a name

This commit is contained in:
chaoticgd
2025-07-09 04:19:09 +02:00
committed by GovanifY
parent cafe7a9dc2
commit 62fa768e60
+3
View File
@@ -8,6 +8,7 @@
#include "Elfheader.h"
#include "PINE.h"
#include "VMManager.h"
#include "common/Threading.h"
#include <atomic>
#include <cstdio>
@@ -392,6 +393,8 @@ bool PINEServer::AcceptClient()
void PINEServer::MainLoop()
{
Threading::SetNameOfCurrentThread("PINE Server");
while (!m_end.load(std::memory_order_acquire))
{
if (!AcceptClient())