mutex |
To ensure that a shared resource can only be accessed by one thread at a time, use a mutex semaphore. If a thread tries to lock a mutex it already owns, the request succeeds immediately. A mutex must be unlocked as many times as it was locked before another thread can lock it.
false
) state. Throws: os_thread_toolkit_error
Throws: os_thread_toolkit_error
lock()
; alternative acquisition syntax. Throws: os_thread_toolkit_error
unlock()
; alternative acquisition syntax. Throws: os_thread_toolkit_error
true if
successful. Throws: os_thread_toolkit_error
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.