mirror of
https://github.com/amphp/parallel.git
synced 2025-07-24 15:01:59 +02:00
18 lines
287 B
PHP
18 lines
287 B
PHP
<?php
|
|
|
|
namespace Amp\Tests\Concurrent\Worker;
|
|
|
|
use Amp\Concurrent\Worker\WorkerThread;
|
|
|
|
/**
|
|
* @group threading
|
|
* @requires extension pthreads
|
|
*/
|
|
class WorkerThreadTest extends AbstractWorkerTest
|
|
{
|
|
protected function createWorker()
|
|
{
|
|
return new WorkerThread();
|
|
}
|
|
}
|