mirror of
https://github.com/danog/parallel.git
synced 2025-01-22 14:01:14 +01:00
18 lines
313 B
PHP
18 lines
313 B
PHP
<?php declare(strict_types = 1);
|
|
|
|
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);
|
|
}
|