BloombergLP::bslmt::MeteredMutex::unlock

Release the lock on this mutex that was previously acquired through a successful call to lock or tryLock.

Synopsis

Declared in <bslmt_meteredmutex.h>

void
unlock();

Description

Update the hold time appropriately. The behavior is undefined unless the calling thread currently owns the lock.