public function wakeup()
    {
        if ($this->state === Generic::STATE_WAITING) {
            $this->ev->del();
            $this->ev->add(0);
        }
    }
public function wakeup()
    {
        if ($this->state === Generic::STATE_WAITING) {
            $this->ev->del();
            $this->ev->add(0);
        }
    }
public function wakeup ( ) { if ( $ this -> state === Generic :: STATE_WAITING ) { $ this -> ev -> del ( ) ; $ this -> ev -> add ( 0 ) ; } }
Cancel current sleep
@return void
Cancel current sleep