TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
google::protobuf::internal::MutexLockMaybe Class Reference

#include <common.h>

Public Member Functions

 MutexLockMaybe (Mutex *mu)
 
 ~MutexLockMaybe ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (MutexLockMaybe)
 

Private Attributes

Mutex *const mu_
 

Constructor & Destructor Documentation

google::protobuf::internal::MutexLockMaybe::MutexLockMaybe ( Mutex mu)
inlineexplicit
1141  :
1142  mu_(mu) { if (this->mu_ != NULL) { this->mu_->Lock(); } }
arena_t NULL
Definition: jemalloc_internal.h:624
Mutex *const mu_
Definition: common.h:1145
google::protobuf::internal::MutexLockMaybe::~MutexLockMaybe ( )
inline
1143 { if (this->mu_ != NULL) { this->mu_->Unlock(); } }
arena_t NULL
Definition: jemalloc_internal.h:624
Mutex *const mu_
Definition: common.h:1145

Member Function Documentation

google::protobuf::internal::MutexLockMaybe::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( MutexLockMaybe  )
private

Member Data Documentation

Mutex* const google::protobuf::internal::MutexLockMaybe::mu_
private

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