1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Add support for named threads (atm linux only)

This commit is contained in:
sapier 2014-04-05 15:27:33 +02:00
parent d22621efc1
commit edcad09dee
7 changed files with 36 additions and 1 deletions

View file

@ -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)) {