summaryrefslogtreecommitdiff
path: root/src/thread/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/thread.h')
-rw-r--r--src/thread/thread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread/thread.h b/src/thread/thread.h
index b944a53b9..07831bb4b 100644
--- a/src/thread/thread.h
+++ b/src/thread/thread.h
@@ -44,9 +44,10 @@ public:
* @param proc The procedure to call inside the thread.
* @param param The params to give with 'proc'.
* @param thread Place to store a pointer to the thread in. May be NULL.
+ * @param name A name for the thread. May be NULL.
* @return True if the thread was started correctly.
*/
- static bool New(OTTDThreadFunc proc, void *param, ThreadObject **thread = NULL);
+ static bool New(OTTDThreadFunc proc, void *param, ThreadObject **thread = NULL, const char *name = NULL);
};
/**