Lines Matching refs:blocking
49 public const ITER_NON_BLOCKING = 1; // By default, iterating over outputs is a blocking call, use this flag to make it non-blocking
631 $blocking = !(self::ITER_NON_BLOCKING & $flags);
664 if (!$blocking && !isset($out[0]) && !isset($err[0])) {
669 $this->readPipesForOutput(__FUNCTION__, $blocking);
1337 * @param bool $blocking Whether to use a blocking read call
1339 protected function updateStatus(bool $blocking)
1348 $this->readPipes($running && $blocking, '\\' !== \DIRECTORY_SEPARATOR || !$running);
1384 * @param bool $blocking Whether to use blocking calls or not
1388 private function readPipesForOutput(string $caller, bool $blocking = false)
1396 $this->updateStatus($blocking);
1420 * @param bool $blocking Whether to use blocking calls or not
1423 private function readPipes(bool $blocking, bool $close)
1425 $result = $this->processPipes->readAndWrite($blocking, $close);