Grok 20.3.2
grk::MinHeapLocker Class Reference

RAII locker for synchronizing access to a min-heap with a real mutex. More...

#include <MinHeap.h>

Public Member Functions

 MinHeapLocker (std::mutex &mut)

Private Attributes

std::lock_guard< std::mutex > lock

Detailed Description

RAII locker for synchronizing access to a min-heap with a real mutex.

Constructor & Destructor Documentation

◆ MinHeapLocker()

grk::MinHeapLocker::MinHeapLocker ( std::mutex & mut)
inlineexplicit

References lock.

Member Data Documentation

◆ lock

std::lock_guard<std::mutex> grk::MinHeapLocker::lock
private

Referenced by MinHeapLocker().


The documentation for this class was generated from the following file: