Construct a jss::lock_guard
instance that owns
the lock on the supplied lockable objects.
lock_guard(LockableTypes& ... m,std::adopt_lock_t);
The calling thread must own a lock on all the lockable objects
in m
.
Constructs a jss::lock_guard
instance that
references the supplied lockable objects and takes ownership of
the lock on all the lockable objects in m
held by the calling thread.
Nothing.
*this
owns the lock on all the lockable objects in m
held by the calling thread.
#include <jss/guards.hpp>