Exemplo n.º 1
0
int DzRunWorker( DzEntry entry, intptr_t context )
{
    DzHost* host = GetHost();
    assert( host );
    assert( entry );

    return RunWorker( host, entry, context );
}
Exemplo n.º 2
0
void LogServer::Start(HWND hMainWnd)
{
	m_hMainWnd = hMainWnd;
	m_worker = std::thread([=]() { RunWorker(); });
	m_started = true;
}