소스 검색

Merge pull request #46656 from zaksnet/improve-thread-docs

Improve documentation for Thread
Max Hilbrunner 4 년 전
부모
커밋
7b846e3f01
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      doc/classes/Thread.xml

+ 2 - 0
doc/classes/Thread.xml

@@ -40,6 +40,8 @@
 			<return type="Variant" />
 			<description>
 				Joins the [Thread] and waits for it to finish. Returns what the method called returned.
+				Should either be used when you want to retrieve the value returned from the method called by the [Thread] or before freeing the instance that contains the [Thread].
+				[b]Note:[/b] After the [Thread] finishes joining it will be disposed. If you want to use it again you will have to create a new instance of it.
 			</description>
 		</method>
 	</methods>