1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-22 22:11:11 +01:00
parallel/lib/Process.php
2016-08-21 23:40:48 -05:00

18 lines
317 B
PHP

<?php declare(strict_types = 1);
namespace Amp\Concurrent;
interface Process extends Context {
/**
* @return int PID of process.
*/
public function getPid(): int;
/**
* @param int $signo
*
* @throws \Amp\Concurrent\StatusError
*/
public function signal(int $signo);
}