diff options
author | frosch <frosch@openttd.org> | 2016-10-30 17:29:33 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2016-10-30 17:29:33 +0000 |
commit | 31f046bd9bfec6be5b5a24f113f3b301376763e6 (patch) | |
tree | aa00cd46578f397c91e8238fe9f5a8b462b52b38 /src/network/core | |
parent | dd190397d6cf16a731dd05a7f722eb76ad21c01f (diff) | |
download | openttd-31f046bd9bfec6be5b5a24f113f3b301376763e6.tar.xz |
(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR)
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/tcp_connect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_connect.cpp b/src/network/core/tcp_connect.cpp index ccbf93f3c..2dc789882 100644 --- a/src/network/core/tcp_connect.cpp +++ b/src/network/core/tcp_connect.cpp @@ -35,7 +35,7 @@ TCPConnecter::TCPConnecter(const NetworkAddress &address) : address(address) { *_tcp_connecters.Append() = this; - if (!ThreadObject::New(TCPConnecter::ThreadEntry, this, &this->thread)) { + if (!ThreadObject::New(TCPConnecter::ThreadEntry, this, &this->thread, "ottd:tcp")) { this->Connect(); } } |