mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix miscellaneous oddities around the class reference (part 7)
This commit is contained in:
@@ -5,8 +5,7 @@
|
||||
</brief_description>
|
||||
<description>
|
||||
A unit of execution in a process. Can run methods on [Object]s simultaneously. The use of synchronization via [Mutex] or [Semaphore] is advised if working with shared objects.
|
||||
[b]Warning:[/b]
|
||||
To ensure proper cleanup without crashes or deadlocks, when a [Thread]'s reference count reaches zero and it is therefore destroyed, the following conditions must be met:
|
||||
[b]Warning:[/b] To ensure proper cleanup without crashes or deadlocks, when a [Thread]'s reference count reaches zero and it is therefore destroyed, the following conditions must be met:
|
||||
- It must not have any [Mutex] objects locked.
|
||||
- It must not be waiting on any [Semaphore] objects.
|
||||
- [method wait_to_finish] should have been called on it.
|
||||
|
||||
Reference in New Issue
Block a user