summaryrefslogtreecommitdiff
path: root/src/httpfetch.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-04-05 15:27:33 +0200
committersapier <Sapier at GMX dot net>2014-04-09 21:32:21 +0200
commitedcad09dee6daf119f3e29b0a63837500e7b8b85 (patch)
tree892d763fd20e03d24430565a3883212ef5c1494f /src/httpfetch.cpp
parentd22621efc10859ae68f51fdcb83da422668dfc91 (diff)
downloadminetest-edcad09dee6daf119f3e29b0a63837500e7b8b85.tar.gz
minetest-edcad09dee6daf119f3e29b0a63837500e7b8b85.tar.bz2
minetest-edcad09dee6daf119f3e29b0a63837500e7b8b85.zip
Add support for named threads (atm linux only)
Diffstat (limited to 'src/httpfetch.cpp')
-rw-r--r--src/httpfetch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/httpfetch.cpp b/src/httpfetch.cpp
index 2eca363d7..751a4471a 100644
--- a/src/httpfetch.cpp
+++ b/src/httpfetch.cpp
@@ -566,6 +566,8 @@ protected:
log_register_thread("CurlFetchThread");
DSTACK(__FUNCTION_NAME);
+ porting::setThreadName("CurlFetchThread");
+
CurlHandlePool pool;
m_multi = curl_multi_init();