mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 09:37:57 +01:00
18 lines
280 B
PHP
18 lines
280 B
PHP
<?php
|
|
|
|
namespace Amp\Parallel\Test\Worker;
|
|
|
|
use Amp\Parallel\Worker\WorkerThread;
|
|
|
|
/**
|
|
* @group threading
|
|
* @requires extension pthreads
|
|
*/
|
|
class WorkerThreadTest extends AbstractWorkerTest
|
|
{
|
|
protected function createWorker()
|
|
{
|
|
return new WorkerThread;
|
|
}
|
|
}
|