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
Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)