summaryrefslogtreecommitdiff
path: root/doc/classes/Thread.xml
diff options
context:
space:
mode:
authorYuri Sizov <11782833+YuriSizov@users.noreply.github.com>2022-08-11 16:51:13 +0300
committerGitHub <noreply@github.com>2022-08-11 16:51:13 +0300
commit5aacac5853591eafe4409fd654d91b7f7cbb9e2a (patch)
treed762fd6de25b3c02872170b2ef18473064bf0ca4 /doc/classes/Thread.xml
parentf3e849edf49170365483f1cec0fac2441f6a596c (diff)
parent2d54c36c3c4e55f2ca32305e64fdf574f5d368e8 (diff)
Merge pull request #64164 from asmaloney/doc-params2
[doc] Use "param" instead of "code" to refer to parameters #2
Diffstat (limited to 'doc/classes/Thread.xml')
-rw-r--r--doc/classes/Thread.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Thread.xml b/doc/classes/Thread.xml
index 6bc34ed8dd..846dae0bae 100644
--- a/doc/classes/Thread.xml
+++ b/doc/classes/Thread.xml
@@ -37,9 +37,9 @@
<param index="0" name="callable" type="Callable" />
<param index="1" name="priority" type="int" enum="Thread.Priority" default="1" />
<description>
- Starts a new [Thread] that calls [code]callable[/code].
+ Starts a new [Thread] that calls [param callable].
If the method takes some arguments, you can pass them using [method Callable.bind].
- The [code]priority[/code] of the [Thread] can be changed by passing a value from the [enum Priority] enum.
+ The [param priority] 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.
</description>
</method>