Public Member Functions | Private Attributes | List of all members
grpc_core::MutexLock Class Reference

#include <sync.h>

Public Member Functions

 MutexLock (const MutexLock &)=delete
 
 MutexLock (Mutex *mu) ABSL_EXCLUSIVE_LOCK_FUNCTION(mu)
 
MutexLockoperator= (const MutexLock &)=delete
 
 ~MutexLock () ABSL_UNLOCK_FUNCTION()
 

Private Attributes

Mutex *const mu_
 

Detailed Description

Definition at line 88 of file src/core/lib/gprpp/sync.h.

Constructor & Destructor Documentation

◆ MutexLock() [1/2]

grpc_core::MutexLock::MutexLock ( Mutex mu)
inlineexplicit

Definition at line 90 of file src/core/lib/gprpp/sync.h.

◆ ~MutexLock()

grpc_core::MutexLock::~MutexLock ( )
inline

Definition at line 93 of file src/core/lib/gprpp/sync.h.

◆ MutexLock() [2/2]

grpc_core::MutexLock::MutexLock ( const MutexLock )
delete

Member Function Documentation

◆ operator=()

MutexLock& grpc_core::MutexLock::operator= ( const MutexLock )
delete

Member Data Documentation

◆ mu_

Mutex* const grpc_core::MutexLock::mu_
private

Definition at line 99 of file src/core/lib/gprpp/sync.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36