#include <Locks.h>
|
| | CopyLockInt (SharedMutex &destinationMutex, SharedMutex &sourceMutex) |
| |
Copy lock Useful when there is need to copy one object (locked with shared lock), into another (locked with unique lock). Locks are released when CopyLockInt leaves scope.
◆ CopyLockInt()
| sptk::CopyLockInt::CopyLockInt |
( |
SharedMutex & |
destinationMutex, |
|
|
SharedMutex & |
sourceMutex |
|
) |
| |
Constructor Locks both mutexes.
- Parameters
-
| destinationMutex | Destination mutex |
| sourceMutex | Source mutex |
The documentation for this class was generated from the following file: