From 011602447cd07e919c9c126d7dfe924132156785 Mon Sep 17 00:00:00 2001 From: Zak Grumbles Date: Mon, 30 Mar 2020 21:53:39 -0500 Subject: [PATCH] Clarify docs for Thread.start() godotengine#36032 * Updated docs for Thread.start() to specify that the method argument must accept one parameter. (cherry picked from commit d09644dff3ed3552f82e63d4a15f7f62442bf733) --- doc/classes/Thread.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Thread.xml b/doc/classes/Thread.xml index f57cc53d54a..69e7b500b7d 100644 --- a/doc/classes/Thread.xml +++ b/doc/classes/Thread.xml @@ -36,7 +36,7 @@ - Starts a new [Thread] that runs [code]method[/code] on object [code]instance[/code] with [code]userdata[/code] passed as an argument. The [code]priority[/code] of the [Thread] can be changed by passing a value from the [enum Priority] enum. + Starts a new [Thread] that runs [code]method[/code] on object [code]instance[/code] with [code]userdata[/code] passed as an argument. Even if no userdata is passed, [code]method[/code] must accept one argument and it will be null. The [code]priority[/code] of the [Thread] can be changed by passing a value from the [enum Priority] enum. Returns [constant OK] on success, or [constant ERR_CANT_CREATE] on failure.