Blender  V2.93
Public Member Functions | Protected Attributes | List of all members
thread_scoped_spin_lock Class Reference

#include <util_thread.h>

Public Member Functions

 thread_scoped_spin_lock (thread_spin_lock &lock)
 
 ~thread_scoped_spin_lock ()
 

Protected Attributes

thread_spin_locklock_
 

Detailed Description

Definition at line 70 of file util_thread.h.

Constructor & Destructor Documentation

◆ thread_scoped_spin_lock()

thread_scoped_spin_lock::thread_scoped_spin_lock ( thread_spin_lock lock)
inlineexplicit

Definition at line 72 of file util_thread.h.

References lock_.

◆ ~thread_scoped_spin_lock()

thread_scoped_spin_lock::~thread_scoped_spin_lock ( )
inline

Definition at line 77 of file util_thread.h.

References lock_.

Member Data Documentation

◆ lock_

thread_spin_lock& thread_scoped_spin_lock::lock_
protected

Definition at line 85 of file util_thread.h.

Referenced by thread_scoped_spin_lock(), and ~thread_scoped_spin_lock().


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