mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Performance fixes.
This commit is contained in:
parent
5d08ada224
commit
0fd1ee0380
8 changed files with 35 additions and 36 deletions
|
@ -247,7 +247,7 @@ void* AsyncWorkerThread::Thread()
|
|||
|
||||
// Register thread for error logging
|
||||
char number[21];
|
||||
snprintf(number, sizeof(number), "%d", threadnum);
|
||||
snprintf(number, sizeof(number), "%u", threadnum);
|
||||
log_register_thread(std::string("AsyncWorkerThread_") + number);
|
||||
|
||||
porting::setThreadName((std::string("AsyncWorkTh_") + number).c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue