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

#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 ()
 
virtual bool IsCurrentThread () const
 

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
 
virtual sal_uInt32 doRelease (bool bUnlockAll)
 
virtual void doAcquire (sal_uInt32 nLockCount)
 
- Protected Attributes inherited from comphelper::SolarMutex
osl::Mutex m_aMutex
 
sal_uInt32 m_nCount
 

Detailed Description

Definition at line 44 of file gtkinst.hxx.

Constructor & Destructor Documentation

◆ GtkYieldMutex()

GtkYieldMutex::GtkYieldMutex ( )
inline

Definition at line 49 of file gtkinst.hxx.

Member Function Documentation

◆ ThreadsEnter()

void GtkYieldMutex::ThreadsEnter ( )

◆ ThreadsLeave()

void GtkYieldMutex::ThreadsLeave ( )

Member Data Documentation

◆ yieldCounts

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

Definition at line 46 of file gtkinst.hxx.


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