Struct RAIILocker
A RAII wrapper for a lock
struct RAIILocker(LockType, string acquireName = "acquire", string releaseName = "release")
;
Methods
Name | Description |
---|---|
isLocked
|
Report whether the container is currently locked |
Parameters
Name | Description |
---|---|
LockType | the type of lock to define over |
acquireName | the name of the function to call to acquire the lock |
releaseName | the name of the function to call to release the lock |