LLDB mainline
Public Member Functions | Public Attributes | List of all members
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 418 of file File.h.

Constructor & Destructor Documentation

◆ ValueGuard()

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

Definition at line 419 of file File.h.

Member Function Documentation

◆ operator bool()

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

Definition at line 422 of file File.h.

References value.

Member Data Documentation

◆ guard

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

Definition at line 420 of file File.h.

◆ value

bool lldb_private::NativeFile::ValueGuard::value

Definition at line 421 of file File.h.

Referenced by operator bool().


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