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

18 lines
305 B
PHP
Raw Normal View History

<?php
namespace Icicle\Concurrent;
2015-12-04 23:50:32 -06:00
interface Process extends Context
{
/**
* @return int PID of process.
*/
2016-01-23 00:00:56 -06:00
public function getPid(): int;
/**
* @param int $signo
*
* @throws \Icicle\Concurrent\Exception\StatusError
*/
2016-01-23 00:00:56 -06:00
public function signal(int $signo);
}