std::scoped lock

GPTKB entity

Statements (19)
Predicate Object
gptkbp:instanceOf C++ class template
gptkbp:builtBy locks all mutexes
gptkbp:canBeCopiedBy false
gptkbp:definedIn C++17 standard
gptkbp:destructor unlocks all mutexes
gptkbp:headerFile <mutex>
https://www.w3.org/2000/01/rdf-schema#label std::scoped lock
gptkbp:introducedIn gptkb:C++17
gptkbp:movable false
gptkbp:namespace std
gptkbp:prevention deadlock
gptkbp:purpose RAII-style mutex locking
gptkbp:replacedBy std::lock_guard for multiple mutexes
gptkbp:supports multiple mutexes
gptkbp:threadSafe provides
gptkbp:uses lock multiple mutexes in a single scope
gptkbp:bfsParent gptkb:ISO_C++11
gptkb:C++0x
gptkbp:bfsLayer 7