1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-03 18:17:52 +01:00
parallel/test/Worker/WorkerThreadTest.php

16 lines
309 B
PHP
Raw Normal View History

2016-08-22 06:40:48 +02:00
<?php declare(strict_types = 1);
2015-08-29 03:55:30 +02:00
2016-08-19 00:36:58 +02:00
namespace Amp\Concurrent\Test\Worker;
2016-08-18 18:04:48 +02:00
use Amp\Concurrent\Worker\WorkerThread;
2015-08-29 03:55:30 +02:00
/**
* @group threading
2015-08-29 03:55:30 +02:00
* @requires extension pthreads
*/
2016-08-19 00:36:58 +02:00
class WorkerThreadTest extends AbstractWorkerTest {
protected function createWorker() {
2015-12-12 06:31:50 +01:00
return new WorkerThread();
2015-08-29 03:55:30 +02:00
}
}