public function wakeup() { if ($this->state === Generic::STATE_WAITING) { $this->ev->del(); $this->ev->add(0); } }