mirror of
https://github.com/danog/parallel.git
synced 2024-12-02 17:52:14 +01:00
18 lines
317 B
PHP
18 lines
317 B
PHP
<?php
|
|
|
|
namespace Amp\Tests\Concurrent\Threading;
|
|
|
|
use Amp\Concurrent\Threading\Parcel;
|
|
use Amp\Tests\Concurrent\Sync\AbstractParcelTest;
|
|
|
|
/**
|
|
* @requires extension pthreads
|
|
*/
|
|
class ParcelTest extends AbstractParcelTest
|
|
{
|
|
protected function createParcel($value)
|
|
{
|
|
return new Parcel($value);
|
|
}
|
|
}
|