Unigine::ScopedWriterLock Class
Header: | #include <UnigineThread.h> |
This class implements a writer lock operating on a read-write mutex. The scoped part will be locked for writing, excluding all other threads from holding a lock on the mutex at the same time.
ScopedWriterLock Class
Members
static ScopedWriterLockPtr create ( RWMutex & l ) #
Constructs a scoped writer lock for the specified synchronization object (read-write mutex).Arguments
- RWMutex & l - Synchronization object (RWMutex).
Last update:
29.04.2021
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter