mirror of
https://github.com/amphp/parallel.git
synced 2025-07-25 07:21:52 +02:00
Port to Amp
This commit is contained in:
17
test/Worker/WorkerThreadTest.php
Normal file
17
test/Worker/WorkerThreadTest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user