Skip to content

Commit 4520c61

Browse files
committed
Moved pthreads adapter work to feature-pthreads and removed it from master
1 parent 00efd70 commit 4520c61

5 files changed

Lines changed: 1 addition & 333 deletions

File tree

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"phpunit/phpunit": "^6.0 || ^5.0 || ^4.8"
2323
},
2424
"suggest": {
25-
"ext-eio": "^1.2",
26-
"ext-pthreads": "^2.0"
25+
"ext-eio": "^1.2"
2726
},
2827
"autoload": {
2928
"psr-4": {

src/Filesystem.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ public static function create(LoopInterface $loop, array $options = [])
2323
return static::setFilesystemOnAdapter(static::createFromAdapter(new Eio\Adapter($loop, $options)));
2424
}
2525

26-
if (extension_loaded('pthreads')) {
27-
//return static::setFilesystemOnAdapter(static::createFromAdapter(new Pthreads\Adapter($loop, $options)));
28-
}
29-
3026
return static::setFilesystemOnAdapter(static::createFromAdapter(new ChildProcess\Adapter($loop, $options)));
3127
}
3228

src/Pthreads/Adapter.php

Lines changed: 0 additions & 231 deletions
This file was deleted.

src/Pthreads/Call.php

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/Pthreads/Yarn.php

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)