summaryrefslogtreecommitdiff
path: root/src/thread/thread_win32.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-10-30 17:29:33 +0000
committerfrosch <frosch@openttd.org>2016-10-30 17:29:33 +0000
commit31f046bd9bfec6be5b5a24f113f3b301376763e6 (patch)
treeaa00cd46578f397c91e8238fe9f5a8b462b52b38 /src/thread/thread_win32.cpp
parentdd190397d6cf16a731dd05a7f722eb76ad21c01f (diff)
downloadopenttd-31f046bd9bfec6be5b5a24f113f3b301376763e6.tar.xz
(svn r27670) -Add: [FS#6471] Assign descriptive names to (GNU pthread) threads. (JGR)
Diffstat (limited to 'src/thread/thread_win32.cpp')
-rw-r--r--src/thread/thread_win32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/thread_win32.cpp b/src/thread/thread_win32.cpp
index c37baf7c3..81a721253 100644
--- a/src/thread/thread_win32.cpp
+++ b/src/thread/thread_win32.cpp
@@ -96,7 +96,7 @@ private:
}
};
-/* static */ bool ThreadObject::New(OTTDThreadFunc proc, void *param, ThreadObject **thread)
+/* static */ bool ThreadObject::New(OTTDThreadFunc proc, void *param, ThreadObject **thread, const char *name)
{
ThreadObject *to = new ThreadObject_Win32(proc, param, thread == NULL);
if (thread != NULL) *thread = to;