This class provides the means to acquire and release the lock on a QLock object. Typically, the lock is acquired at construction and released automatically on destruction. This class also provides explicit lock, tryLock, and unlock primitives.
Synopsis
Declared in <bslmt_qlock.h>
class QLockGuard;
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. If this object holds a lock, automatically free it. |
|
|
Associate this guard with the specified |
|
Attempt to acquire a lock on the associated |
|
Release the lock on the associated |
Created with MrDocs