LibreOffice Module vcl (master)  1
Public Member Functions | Static Private Attributes | List of all members
GtkYieldMutex Class Reference

#include <gtkinst.hxx>

Inheritance diagram for GtkYieldMutex:
[legend]
Collaboration diagram for GtkYieldMutex:
[legend]

Public Member Functions

 GtkYieldMutex ()
 
void ThreadsEnter ()
 
void ThreadsLeave ()
 
- Public Member Functions inherited from SalYieldMutex
 SalYieldMutex ()
 
virtual ~SalYieldMutex () override
 
virtual bool IsCurrentThread () const override
 
 SalYieldMutex ()
 
virtual ~SalYieldMutex () override
 
- Public Member Functions inherited from comphelper::SolarMutex
 SolarMutex ()
 
virtual ~SolarMutex ()
 
void SetBeforeReleaseHandler (const BeforeReleaseHandler &rLink)
 
void acquire (sal_uInt32 nLockCount=1)
 
sal_uInt32 release (bool bUnlockAll=false)
 
virtual bool tryToAcquire ()
 

Static Private Attributes

static thread_local std::stack< sal_uInt32 > yieldCounts
 

Additional Inherited Members

- Public Types inherited from comphelper::SolarMutex
typedef void(* BeforeReleaseHandler) ()
 
- Static Public Member Functions inherited from comphelper::SolarMutex
static SolarMutexget ()
 
- Protected Member Functions inherited from SalYieldMutex
virtual void doAcquire (sal_uInt32 nLockCount) override
 
virtual sal_uInt32 doRelease (bool bUnlockAll) override
 
- Protected Attributes inherited from comphelper::SolarMutex
osl::Mutex m_aMutex
 
sal_uInt32 m_nCount
 

Detailed Description

Definition at line 50 of file gtkinst.hxx.

Constructor & Destructor Documentation

GtkYieldMutex::GtkYieldMutex ( )
inline

Definition at line 55 of file gtkinst.hxx.

Member Function Documentation

void GtkYieldMutex::ThreadsEnter ( )
void GtkYieldMutex::ThreadsLeave ( )

Member Data Documentation

thread_local std::stack<sal_uInt32> GtkYieldMutex::yieldCounts
staticprivate

Definition at line 52 of file gtkinst.hxx.


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