template <typename Mutex>

class scoped_unique_lock

Defined at line 22 of file ../../src/media/audio/lib/clock/scoped_unique_lock.h

A wrapper around std::unique_lock

<Mutex

> that enables thread-safety analysis.

The lock may be passed to std::condition_variable::wait, but explicit lock/unlock

methods have been removed.

Thread-safety analysis does not support the standard implementation of std::unique_lock

because that class supports optional locking (e.g. the lock may or may not be held in the

constructor). In practice we don't need those features.

Public Methods

void scoped_unique_lock<Mutex> (Mutex & m)

Defined at line 24 of file ../../src/media/audio/lib/clock/scoped_unique_lock.h

void ~scoped_unique_lock<Mutex> ()

Defined at line 25 of file ../../src/media/audio/lib/clock/scoped_unique_lock.h