LLDB mainline
lldb_private::NativeFile::ValueGuard Struct Reference

#include <File.h>

Public Member Functions

 ValueGuard (std::mutex &m, bool b)
 operator bool ()

Public Attributes

std::lock_guard< std::mutex > guard
bool value

Detailed Description

Definition at line 419 of file File.h.

Constructor & Destructor Documentation

◆ ValueGuard()

lldb_private::NativeFile::ValueGuard::ValueGuard ( std::mutex & m,
bool b )
inline

Definition at line 420 of file File.h.

References guard, and value.

Member Function Documentation

◆ operator bool()

lldb_private::NativeFile::ValueGuard::operator bool ( )
inline

Definition at line 423 of file File.h.

References value.

Member Data Documentation

◆ guard

std::lock_guard<std::mutex> lldb_private::NativeFile::ValueGuard::guard

Definition at line 421 of file File.h.

Referenced by ValueGuard().

◆ value

bool lldb_private::NativeFile::ValueGuard::value

Definition at line 422 of file File.h.

Referenced by operator bool(), and ValueGuard().


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