Пример #1
0
 public static function waitAllEvents()
 {
     if (!self::$supported) {
         return;
     }
     while ($n = eio_nreqs()) {
         eio_poll();
     }
 }
Пример #2
0
 public function workPendingCount()
 {
     return eio_nreqs() + eio_npending() + eio_nready();
 }