Lines Matching defs:wait
70 DWORD wait = ::SignalObjectAndWait(channel[num].ping_event,
73 if (WAIT_TIMEOUT == wait) {
78 wait = ::WaitForSingleObject(control_->server_alive, 0);
79 if (WAIT_TIMEOUT == wait) {
80 // Server seems still alive. We already signaled so here we just wait.
81 wait = ::WaitForSingleObject(channel[num].pong_event, kIPCWaitTimeOut1);
82 if (WAIT_OBJECT_0 == wait) {
85 } else if (WAIT_TIMEOUT == wait) {
98 } else if (WAIT_OBJECT_0 != wait) {
133 DWORD wait = ::WaitForSingleObject(control_->server_alive,
135 if (WAIT_TIMEOUT != wait) {