projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2253e5
)
Fix EmergeThread names in log
author
Kahrl
<kahrl@gmx.net>
Sun, 19 May 2013 17:58:01 +0000
(19:58 +0200)
committer
Kahrl
<kahrl@gmx.net>
Sun, 19 May 2013 17:58:01 +0000
(19:58 +0200)
Concatenate the thread id as string instead of adding it to the pointer
src/emerge.cpp
patch
|
blob
|
history
diff --git
a/src/emerge.cpp
b/src/emerge.cpp
index 2d8b01819b08916877ddbd9b1674c557331d49ce..b31a942e37bd80a70478d630f9c0fe1ecabd4a3f 100644
(file)
--- a/
src/emerge.cpp
+++ b/
src/emerge.cpp
@@
-349,7
+349,7
@@
bool EmergeThread::getBlockOrStartGen(v3s16 p, MapBlock **b,
void *EmergeThread::Thread() {
ThreadStarted();
- log_register_thread("EmergeThread" + i
d
);
+ log_register_thread("EmergeThread" + i
tos(id)
);
DSTACK(__FUNCTION_NAME);
BEGIN_DEBUG_EXCEPTION_HANDLER