MCPcopy Create free account
hub / github.com/ddnet/ddnet / CDbConnectionPool

Method CDbConnectionPool

src/engine/server/databases/connection_pool.cpp:479–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

477}
478
479CDbConnectionPool::CDbConnectionPool()
480{
481 m_pShared = std::make_shared<CSharedData>();
482 m_pWorkerThread = thread_init(CWorker::Start, new CWorker(m_pShared, g_Config.m_DbgSql), "database worker thread");
483 m_pBackupThread = thread_init(CBackup::Start, new CBackup(m_pShared, g_Config.m_DbgSql), "database backup worker thread");
484}
485
486CDbConnectionPool::~CDbConnectionPool()
487{

Callers

nothing calls this directly

Calls 1

thread_initFunction · 0.85

Tested by

no test coverage detected