static Router& instance() { static Poco::SingletonHolder<Router> sh; return *sh.get(); }
SSLManager& SSLManager::instance() { static Poco::SingletonHolder<SSLManager> singleton; return *singleton.get(); }
/*********************************************************************** * registry data structure **********************************************************************/ static Poco::RWLock &getRegistryMutex(void) { static Poco::SingletonHolder<Poco::RWLock> sh; return *sh.get(); }
static RegistryEntry &getRegistryRoot(void) { static Poco::SingletonHolder<RegistryEntry> sh; return *sh.get(); }
static Poco::NamedMutex &getLoaderCacheMutex(void) { static Poco::SingletonHolder<LoaderCacheNamedMutex> sh; return *sh.get(); }
static std::mutex &getModuleMutex(void) { static Poco::SingletonHolder<std::mutex> sh; return *sh.get(); }
ApacheApplication& ApacheApplication::instance() { static Poco::SingletonHolder<ApacheApplication> sh; return *sh.get(); }
/*********************************************************************** * mutex for protecting logger methods **********************************************************************/ static std::mutex &getSetupLoggerMutex(void) { static Poco::SingletonHolder<std::mutex> sh; return *sh.get(); }
static HashFcnMapType &getHashFcnMap(void) { static Poco::SingletonHolder<HashFcnMapType> sh; return *sh.get(); }
static std::atomic<size_t> &getUIDAtomic(void) { static Poco::SingletonHolder<std::atomic<size_t>> sh; return *sh.get(); }
LedCtrl& LedCtrl::get() { static Poco::SingletonHolder<LedCtrl> sh; return *sh.get (); }
static ServerObjectsMapType &getObjectsMap(void) { static Poco::SingletonHolder<ServerObjectsMapType> sh; return *sh.get(); }
SDCLibrary2 & SDCLibrary2::getInstance() { static Poco::SingletonHolder<SDCLibrary2> singletonHolder; return *singletonHolder.get(); }
const Pothos::BufferChunk &Pothos::BufferChunk::null(void) { static Poco::SingletonHolder<BufferChunk> sh; return *sh.get(); }
const DOMImplementation& DOMImplementation::instance() { static Poco::SingletonHolder<DOMImplementation> sh; return *sh.get(); }