int DzRunWorker( DzEntry entry, intptr_t context ) { DzHost* host = GetHost(); assert( host ); assert( entry ); return RunWorker( host, entry, context ); }
void LogServer::Start(HWND hMainWnd) { m_hMainWnd = hMainWnd; m_worker = std::thread([=]() { RunWorker(); }); m_started = true; }