mirror of
https://github.com/danog/parallel.git
synced 2025-01-06 04:38:21 +01:00
18 lines
290 B
PHP
18 lines
290 B
PHP
<?php
|
|
|
|
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);
|
|
}
|