mirror of
https://github.com/danog/parallel.git
synced 2024-11-30 04:39:01 +01:00
18 lines
286 B
PHP
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);
|
|
}
|