19#ifndef INCLUDED_SW_SOURCE_CORE_INC_SWTHREADMANAGER_HXX
20#define INCLUDED_SW_SOURCE_CORE_INC_SWTHREADMANAGER_HXX
22#include <osl/interlck.h>
26namespace rtl {
template <
class reference_type>
class Reference; }
51 void RemoveThread(
const oslInterlockedCount nThreadID );
class for an observable thread
class to manage threads in Writer using a <ThreadManager> instance
static SwThreadManager & GetThreadManager()
static bool ExistsThreadManager()
void RemoveThread(const oslInterlockedCount nThreadID)
SwThreadManager & operator=(SwThreadManager const &)=delete
bool StartingOfThreadsSuspended()
SwThreadManager(SwThreadManager const &)=delete
static bool sbThreadManagerInstantiated
class to manage threads in Writer - it conforms the singleton pattern
void ResumeStartingOfThreads()
continues the starting of threads after it has been suspended
std::unique_ptr< ThreadManager > mpThreadManagerImpl
oslInterlockedCount AddThread(const rtl::Reference< ObservableThread > &rThread)
void SuspendStartingOfThreads()
suspend the starting of threads