Example #1
0
void _timerThread::post(AsyncEvent *p)
{
    s_acSleep.put(p);
    s_timer.m_sem.Post();
}
Example #2
0
void AsyncEvent::sleep(int ms)
{
    m_v = ms;
    s_acSleep.put(this);
}