Esempio n. 1
0
 void Slave::LoadRDBRoutine(void* cb)
 {
     Slave* slave = (Slave*) cb;
     if (NULL != slave->m_client)
     {
         slave->m_client->GetService().Continue();
     }
     if (time(NULL) - slave->m_routine_ts > 10)
     {
         slave->Routine();
     }
 }
Esempio n. 2
0
 void Run()
 {
     c->Routine();
 }