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