Fix massive lag spike when starting on haiku

This commit is contained in:
Li
2026-04-20 10:36:03 +00:00
parent 9ba3fabfb6
commit f8e7c0f80f
7 changed files with 25 additions and 17 deletions

View File

@@ -351,7 +351,8 @@ StartupResult RakPeer::Startup( unsigned short maxConnections, SocketDescriptor
#if defined(_WIN32)
threadPriority=0;
#elif defined(__HAIKU__)
threadPriority=40;
#else
threadPriority=1000;
#endif