diff --git a/docs/scripting.xml b/docs/scripting.xml index a71a09fd1..999395cdc 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -2609,8 +2609,8 @@ error_message describes the occurred error. The returned function allows you to lock, try to lock, and release the mutex. It's first and only parameter is either: - - + + Make a blocking lock on the mutex. If the mutex is busy @@ -2618,8 +2618,8 @@ error_message describes the occurred error. yield and wait. The function returns with the mutex locked. - - + + Makes a non-blocking lock on the mutex. If the mutex is @@ -2627,24 +2627,24 @@ error_message describes the occurred error. false. Otherwise the mutex locks the mutex and returns true. - - + + Releases the mutex and allows another thread to lock it. If the thread does not have a lock on the mutex, an error will be raised. - - + + Returns the thread locked on the mutex or nil. This should only be used for debugging as it interferes with finished threads from being collected. - - + +