LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
SvpSalYieldMutex Class Reference

#include <svpinst.hxx>

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

Public Member Functions

 SvpSalYieldMutex ()
 
virtual ~SvpSalYieldMutex () override
 
virtual bool IsCurrentThread () const override
 
- Public Member Functions inherited from SalYieldMutex
 SalYieldMutex ()
 
virtual ~SalYieldMutex () 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 ()
 

Protected Member Functions

virtual void doAcquire (sal_uInt32 nLockCount) override
 
virtual sal_uInt32 doRelease (bool bUnlockAll) override
 

Private Attributes

int m_FeedbackFDs [2]
 
osl::Condition m_NonMainWaitingYieldCond
 
bool m_bNoYieldLock = false
 
std::mutex m_WakeUpMainMutex
 
std::condition_variable m_WakeUpMainCond
 
bool m_wakeUpMain = false
 
SvpRequest m_Request = SvpRequest::NONE
 

Friends

class SvpSalInstance
 

Additional Inherited Members

- Public Types inherited from comphelper::SolarMutex
typedef void(* BeforeReleaseHandler) ()
 
- Static Public Member Functions inherited from comphelper::SolarMutex
static SolarMutexget ()
 
- Protected Attributes inherited from comphelper::SolarMutex
osl::Mutex m_aMutex
 
sal_uInt32 m_nCount
 

Detailed Description

Definition at line 65 of file svpinst.hxx.

Constructor & Destructor Documentation

SvpSalYieldMutex::SvpSalYieldMutex ( )
virtual SvpSalYieldMutex::~SvpSalYieldMutex ( )
overridevirtual

Member Function Documentation

virtual void SvpSalYieldMutex::doAcquire ( sal_uInt32  nLockCount)
overrideprotectedvirtual

Reimplemented from SalYieldMutex.

virtual sal_uInt32 SvpSalYieldMutex::doRelease ( bool  bUnlockAll)
overrideprotectedvirtual

Reimplemented from SalYieldMutex.

virtual bool SvpSalYieldMutex::IsCurrentThread ( ) const
overridevirtual

Reimplemented from SalYieldMutex.

Friends And Related Function Documentation

friend class SvpSalInstance
friend

Definition at line 70 of file svpinst.hxx.

Member Data Documentation

bool SvpSalYieldMutex::m_bNoYieldLock = false
private

Definition at line 75 of file svpinst.hxx.

int SvpSalYieldMutex::m_FeedbackFDs[2]
private

Definition at line 72 of file svpinst.hxx.

osl::Condition SvpSalYieldMutex::m_NonMainWaitingYieldCond
private

Definition at line 73 of file svpinst.hxx.

SvpRequest SvpSalYieldMutex::m_Request = SvpRequest::NONE
private

Definition at line 79 of file svpinst.hxx.

bool SvpSalYieldMutex::m_wakeUpMain = false
private

Definition at line 78 of file svpinst.hxx.

std::condition_variable SvpSalYieldMutex::m_WakeUpMainCond
private

Definition at line 77 of file svpinst.hxx.

std::mutex SvpSalYieldMutex::m_WakeUpMainMutex
private

Definition at line 76 of file svpinst.hxx.


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