Public Member Functions | Private Attributes | List of all members
absl::base_internal::SpinLockHolder Class Reference

#include <spinlock.h>

Public Member Functions

SpinLockHolderoperator= (const SpinLockHolder &)=delete
 
 SpinLockHolder (SpinLock *l) EXCLUSIVE_LOCK_FUNCTION(l)
 
 SpinLockHolder (const SpinLockHolder &)=delete
 
 ~SpinLockHolder () UNLOCK_FUNCTION()
 

Private Attributes

SpinLocklock_
 

Detailed Description

Definition at line 182 of file spinlock.h.

Constructor & Destructor Documentation

◆ SpinLockHolder() [1/2]

absl::base_internal::SpinLockHolder::SpinLockHolder ( SpinLock l)
inlineexplicit

Definition at line 184 of file spinlock.h.

◆ ~SpinLockHolder()

absl::base_internal::SpinLockHolder::~SpinLockHolder ( )
inline

Definition at line 188 of file spinlock.h.

◆ SpinLockHolder() [2/2]

absl::base_internal::SpinLockHolder::SpinLockHolder ( const SpinLockHolder )
delete

Member Function Documentation

◆ operator=()

SpinLockHolder& absl::base_internal::SpinLockHolder::operator= ( const SpinLockHolder )
delete

Member Data Documentation

◆ lock_

SpinLock* absl::base_internal::SpinLockHolder::lock_
private

Definition at line 194 of file spinlock.h.


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


abseil_cpp
Author(s):
autogenerated on Mon Feb 28 2022 21:31:22