Unigine::RWMutex Class
Header: | #include <UnigineThread.h> |
This class implements a read-write mutex with write-preferred locking. This mutex has the following scoped locks: ScopedReaderLock and ScopedWriterLock.
RWMutex Class
Members
static RWMutexPtr create ( ) #
Constructor. Creates a new read-write mutex.void lockRead ( ) #
Locks the mutex for reading.void unlockRead ( ) #
Unlocks the mutex for reading.void lockWrite ( ) #
Locks the mutex for writing.void unlockWrite ( ) #
Unlocks the mutex for writing.Last update:
2024-08-16
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)