sem_read_lock |
This class allows a semaphore to
be auto-locked within a scope. When an os_sem_read_lock
is constructed with a reference to a semaphore, the os_sem_read_lock
calls read_lock() on its associated semaphore. When
an os_sem_read_lock is destroyed, it calls read_unlock()
on its associated semaphore. An os_sem_read_lock is
merely a helper class and does not own its semaphore.
Throws: os_thread_toolkit_error
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.