示例#1
0
void _timerThread::post(AsyncEvent *p)
{
    s_acSleep.put(p);
    s_timer.m_sem.Post();
}
示例#2
0
文件: fbFiber.cpp 项目: cwyiu/fibjs
void AsyncEvent::sleep(int ms)
{
    m_v = ms;
    s_acSleep.put(this);
}