Unigine::ScopedReaderLock Class
Header: | #include <UnigineThread.h> |
This class implements a reader lock operating on a read-write mutex. The scoped part shall be locked for reading. No writing can be done in the meantime, but other threads are able to read as well.
ScopedReaderLock Class
Members
static ScopedReaderLockPtr create ( RWMutex & l ) #
Constructs a scoped reader lock for the specified synchronization object (read-write mutex).Arguments
- RWMutex & l - Synchronization object (RWMutex).
Last update:
2021-04-29
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)