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:
31.07.2020
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter