Skip to content

Glossary: C++ Beyond the Basics

std::unique_lock

Also written: unique_lock

A mutex lock that can be released and retaken. Condition variables need it because `wait` must unlock and relock.

Where the book teaches it

Related terms

Lock guardCondition variable