mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Booleanize various sync primitives' wait & locking methods
This commit is contained in:
@@ -18,9 +18,9 @@
|
||||
</description>
|
||||
</method>
|
||||
<method name="try_lock">
|
||||
<return type="int" enum="Error" />
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Tries locking this [Mutex], but does not block. Returns [constant OK] on success, [constant ERR_BUSY] otherwise.
|
||||
Tries locking this [Mutex], but does not block. Returns [code]true[/code] on success, [code]false[/code] otherwise.
|
||||
[b]Note:[/b] This function returns [constant OK] if the thread already has ownership of the mutex.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user