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

18 lines
290 B
PHP
Raw Normal View History

<?php
2016-08-18 18:04:48 +02:00
namespace Amp\Concurrent;
interface Process extends Context {
/**
* @return int PID of process.
*/
2016-01-23 07:00:56 +01:00
public function getPid(): int;
/**
* @param int $signo
*
2016-08-18 18:04:48 +02:00
* @throws \Amp\Concurrent\StatusError
*/
2016-01-23 07:00:56 +01:00
public function signal(int $signo);
}