summaryrefslogtreecommitdiff
path: root/doc/classes/Semaphore.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Semaphore.xml')
-rw-r--r--doc/classes/Semaphore.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/Semaphore.xml b/doc/classes/Semaphore.xml
index f3a37b78e1..5f46b949aa 100644
--- a/doc/classes/Semaphore.xml
+++ b/doc/classes/Semaphore.xml
@@ -15,14 +15,14 @@
<return type="int" enum="Error">
</return>
<description>
- Lowers the [code]Semaphore[/code], allowing one more thread in. Returns [OK] on success, [ERR_BUSY] otherwise.
+ Lowers the [code]Semaphore[/code], allowing one more thread in. Returns [code]OK[/code] on success, [code]ERR_BUSY[/code] otherwise.
</description>
</method>
<method name="wait">
<return type="int" enum="Error">
</return>
<description>
- Tries to wait for the [code]Semaphore[/code], if its value is zero, blocks until non-zero. Returns [OK] on success, [ERR_BUSY] otherwise.
+ Tries to wait for the [code]Semaphore[/code], if its value is zero, blocks until non-zero. Returns [code]OK[/code] on success, [code]ERR_BUSY[/code] otherwise.
</description>
</method>
</methods>