1
0
mirror of https://github.com/danog/parallel.git synced 2025-01-22 22:11:11 +01:00
parallel/lib/Process.php

18 lines
313 B
PHP
Raw Normal View History

2016-08-21 23:40:48 -05:00
<?php declare(strict_types = 1);
2016-08-23 16:47:40 -05:00
namespace Amp\Parallel;
2016-08-18 11:04:48 -05:00
interface Process extends Context {
/**
* @return int PID of process.
*/
2016-01-23 00:00:56 -06:00
public function getPid(): int;
/**
* @param int $signo
*
2016-08-23 16:47:40 -05:00
* @throws \Amp\Parallel\StatusError
*/
2016-01-23 00:00:56 -06:00
public function signal(int $signo);
}