public function onWakeup()
{
$this->running = true;
Daemon::$context = $this;
$_SESSION =& $this->attrs->session;
$_GET =& $this->attrs->get;
$_POST = [];
$_COOKIE =& $this->attrs->cookie;
Daemon::$process->setState(Daemon::WSTATE_BUSY);
}