Audacity  3.0.3
Public Member Functions | Public Attributes | List of all members
g_mutex_locker Struct Reference

Public Member Functions

 g_mutex_locker (GMutex &mutex_)
 
 ~g_mutex_locker ()
 

Public Attributes

GMutex & mutex
 

Detailed Description

Definition at line 85 of file ImportGStreamer.cpp.

Constructor & Destructor Documentation

◆ g_mutex_locker()

g_mutex_locker::g_mutex_locker ( GMutex &  mutex_)
inlineexplicit

Definition at line 87 of file ImportGStreamer.cpp.

88  : mutex(mutex_)
89  {
90  g_mutex_lock(&mutex);
91  }

References mutex.

◆ ~g_mutex_locker()

g_mutex_locker::~g_mutex_locker ( )
inline

Definition at line 93 of file ImportGStreamer.cpp.

94  {
95  g_mutex_unlock(&mutex);
96  }

References mutex.

Member Data Documentation

◆ mutex

GMutex& g_mutex_locker::mutex

Definition at line 98 of file ImportGStreamer.cpp.

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


The documentation for this struct was generated from the following file:
g_mutex_locker::mutex
GMutex & mutex
Definition: ImportGStreamer.cpp:98