注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
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:
2023-06-23
Help improve this article
(or select a word/phrase and press Ctrl+Enter)