Home -> ReadWriteMutex -> ObtainWriteLock
Description
The ObtainWriteLock method obtains a write lock for this mutex. This method blocks the calling thread until the lock can be obtained.
Usage
std::unique_ptr<WriteLock> ObtainWriteLock();
Return value
- [std::unique_ptr<WriteLock>]
- A write lock object that holds the lock until it is unlocked or destroyed.