mirror of
https://github.com/danog/parallel.git
synced 2025-01-22 14:01:14 +01:00
Fix some missed use statements
This commit is contained in:
parent
4e3dc75b09
commit
6febc476b8
@ -27,8 +27,8 @@ if (!isset($autoloadPath)) {
|
|||||||
require $autoloadPath;
|
require $autoloadPath;
|
||||||
|
|
||||||
use Icicle\Concurrent\Sync\Channel;
|
use Icicle\Concurrent\Sync\Channel;
|
||||||
use Icicle\Concurrent\Sync\ExitFailure;
|
use Icicle\Concurrent\Sync\Internal\ExitFailure;
|
||||||
use Icicle\Concurrent\Sync\ExitSuccess;
|
use Icicle\Concurrent\Sync\Internal\ExitSuccess;
|
||||||
use Icicle\Concurrent\Worker\Internal\TaskRunner;
|
use Icicle\Concurrent\Worker\Internal\TaskRunner;
|
||||||
use Icicle\Coroutine;
|
use Icicle\Coroutine;
|
||||||
use Icicle\Loop;
|
use Icicle\Loop;
|
||||||
|
@ -7,7 +7,7 @@ use Icicle\Concurrent\Exception\StatusError;
|
|||||||
use Icicle\Concurrent\Exception\SynchronizationError;
|
use Icicle\Concurrent\Exception\SynchronizationError;
|
||||||
use Icicle\Concurrent\Sync\Channel;
|
use Icicle\Concurrent\Sync\Channel;
|
||||||
use Icicle\Concurrent\Sync\ChannelInterface;
|
use Icicle\Concurrent\Sync\ChannelInterface;
|
||||||
use Icicle\Concurrent\Sync\ExitStatusInterface;
|
use Icicle\Concurrent\Sync\Internal\ExitStatusInterface;
|
||||||
|
|
||||||
class ChannelledProcess implements ContextInterface
|
class ChannelledProcess implements ContextInterface
|
||||||
{
|
{
|
||||||
|
@ -4,6 +4,7 @@ namespace Icicle\Concurrent\Threading;
|
|||||||
use Icicle\Concurrent\ChannelInterface;
|
use Icicle\Concurrent\ChannelInterface;
|
||||||
use Icicle\Concurrent\Exception\InvalidArgumentError;
|
use Icicle\Concurrent\Exception\InvalidArgumentError;
|
||||||
use Icicle\Concurrent\Sync\Internal\ExitStatusInterface;
|
use Icicle\Concurrent\Sync\Internal\ExitStatusInterface;
|
||||||
|
use Icicle\Concurrent\Sync\ChannelInterface as SyncChannelInterface;;
|
||||||
use Icicle\Concurrent\SynchronizableInterface;
|
use Icicle\Concurrent\SynchronizableInterface;
|
||||||
use Icicle\Coroutine;
|
use Icicle\Coroutine;
|
||||||
|
|
||||||
@ -23,9 +24,9 @@ class Executor implements ChannelInterface, SynchronizableInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \Icicle\Concurrent\Threading\Internal\Thread $thread
|
* @param \Icicle\Concurrent\Threading\Internal\Thread $thread
|
||||||
* @param \Icicle\Concurrent\ChannelInterface $channel
|
* @param \Icicle\Concurrent\Sync\ChannelInterface $channel
|
||||||
*/
|
*/
|
||||||
public function __construct(Internal\Thread $thread, ChannelInterface $channel)
|
public function __construct(Internal\Thread $thread, SyncChannelInterface $channel)
|
||||||
{
|
{
|
||||||
$this->thread = $thread;
|
$this->thread = $thread;
|
||||||
$this->channel = $channel;
|
$this->channel = $channel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user