BloombergLP::bslmt::QLockGuard::lock

lock overloads

Synopses

Declared in <bslmt_qlock.h>

Acquire a lock on the associated QLock, blocking if necessary.

void
lock();
» more...

Associate this guard with qlock and acquire the lock.

void
lock(QLock* qlock);
» more...

Parameters

NameDescription
qlockQLock to associate with this guard and lock