mirror of
https://github.com/amphp/parallel.git
synced 2025-07-25 07:21:52 +02:00
18 lines
305 B
PHP
18 lines
305 B
PHP
<?php
|
|
namespace Icicle\Concurrent;
|
|
|
|
interface Process extends Context
|
|
{
|
|
/**
|
|
* @return int PID of process.
|
|
*/
|
|
public function getPid(): int;
|
|
|
|
/**
|
|
* @param int $signo
|
|
*
|
|
* @throws \Icicle\Concurrent\Exception\StatusError
|
|
*/
|
|
public function signal(int $signo);
|
|
}
|