Struct RAIILocker

A RAII wrapper for a lock

struct RAIILocker(LockType, string acquireName = "acquire", string releaseName = "release") ;

Methods

NameDescription
isLocked Report whether the container is currently locked

Parameters

NameDescription
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