Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
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-04-29
Help improve this article
(or select a word/phrase and press Ctrl+Enter)