mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-28 19:55:30 +01:00
Add support for named threads (atm linux only)
This commit is contained in:
@@ -472,6 +472,8 @@ void *EmergeThread::Thread() {
|
||||
mapgen = emerge->mapgen[id];
|
||||
enable_mapgen_debug_info = emerge->mapgen_debug_info;
|
||||
|
||||
porting::setThreadName("EmergeThread");
|
||||
|
||||
while (!StopRequested())
|
||||
try {
|
||||
if (!popBlockEmerge(&p, &flags)) {
|
||||
|
||||
Reference in New Issue
Block a user