1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-30 04:39:01 +01:00
parallel/lib/Process.php
2016-12-29 19:16:04 -06:00

18 lines
286 B
PHP

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