mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
classref: Sync with current master branch (705b7a0)
This commit is contained in:
@@ -67,7 +67,7 @@ Method Descriptions
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **post**\ (\ )
|
||||
|void| **post**\ (\ ) :ref:`🔗<class_Semaphore_method_post>`
|
||||
|
||||
Lowers the **Semaphore**, allowing one more thread in.
|
||||
|
||||
@@ -79,7 +79,7 @@ Lowers the **Semaphore**, allowing one more thread in.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **try_wait**\ (\ )
|
||||
:ref:`bool<class_bool>` **try_wait**\ (\ ) :ref:`🔗<class_Semaphore_method_try_wait>`
|
||||
|
||||
Like :ref:`wait<class_Semaphore_method_wait>`, but won't block, so if the value is zero, fails immediately and returns ``false``. If non-zero, it returns ``true`` to report success.
|
||||
|
||||
@@ -91,7 +91,7 @@ Like :ref:`wait<class_Semaphore_method_wait>`, but won't block, so if the value
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **wait**\ (\ )
|
||||
|void| **wait**\ (\ ) :ref:`🔗<class_Semaphore_method_wait>`
|
||||
|
||||
Waits for the **Semaphore**, if its value is zero, blocks until non-zero.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user