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