23#include <osl/thread.hxx>
31 SolarMutex* g_pSolarMutex =
nullptr;
41 , m_aBeforeReleaseHandler( nullptr )
43 assert(!g_pSolarMutex);
49 g_pSolarMutex =
nullptr;
54 for ( sal_uInt32
n = nLockCount;
n ; --
n )
SolarMutex, needed for VCL's Application::GetSolarMutex().
virtual sal_uInt32 doRelease(bool bUnlockAll)
static SolarMutex * get()
Help components to get the SolarMutex easily.
virtual bool IsCurrentThread() const
BeforeReleaseHandler m_aBeforeReleaseHandler
virtual bool tryToAcquire()
std::atomic< std::thread::id > m_nThreadId
virtual void doAcquire(sal_uInt32 nLockCount)