Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

immer::spinlock::scoped_lock Struct Reference

#include <refcount_policy.hpp>

+ Collaboration diagram for immer::spinlock::scoped_lock:

Public Member Functions

 scoped_lock (const scoped_lock &)=delete
 
scoped_lockoperator= (const scoped_lock &)=delete
 
 scoped_lock (spinlock &sp)
 
 ~scoped_lock ()
 

Private Attributes

spinlocksp_
 

Detailed Description

Definition at line 59 of file refcount_policy.hpp.

Constructor & Destructor Documentation

◆ scoped_lock() [1/2]

immer::spinlock::scoped_lock::scoped_lock ( const scoped_lock )
delete

◆ scoped_lock() [2/2]

immer::spinlock::scoped_lock::scoped_lock ( spinlock sp)
inlineexplicit

Definition at line 64 of file refcount_policy.hpp.

◆ ~scoped_lock()

immer::spinlock::scoped_lock::~scoped_lock ( )
inline

Definition at line 68 of file refcount_policy.hpp.

References sp_, and immer::spinlock::unlock().

Member Function Documentation

◆ operator=()

scoped_lock& immer::spinlock::scoped_lock::operator= ( const scoped_lock )
delete

Member Data Documentation

◆ sp_

spinlock& immer::spinlock::scoped_lock::sp_
private

Definition at line 72 of file refcount_policy.hpp.

Referenced by ~scoped_lock().


The documentation for this struct was generated from the following file:
Released under the MIT license