read_write_semaphore |
An os_read_write_semaphore
allows you to ensure that access to an object is limited to a single writer or
multiple readers. A read/write semaphore grants a read lock to multiple readers
or grants a write lock to a single writer.
Throws: os_thread_toolkit_error
Throws: os_thread_toolkit_error
Throws: os_thread_toolkit_error
read_unlock()
without first obtaining a new lock on the mutex. Throws: os_thread_toolkit_error
false
if it fails to acquire a lock immediately. Throws: os_thread_toolkit_error
false
if it fails to acquire a lock immediately. Throws: os_thread_toolkit_error
false
if it fails to acquire a lock immediately. Throws: os_thread_toolkit_error
write_lock
repeatedly without blocking on subsequent calls. These write_lock
calls must be matched by an equal number of write_unlock
calls. A write lock can only exist when there are no read locks. Throws: os_thread_toolkit_error
write_unlock()
without first obtaining a new lock on the mutex.Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.