Niklas Keller
089684ea00
Require parallel 0.1.4 and fix code style
2017-06-21 10:18:14 +02:00
Niklas Keller
f2f21ef0c0
Refactor UvDriver and UvHandle to use UvPoll as busy watcher
...
Fixes #16 .
2017-06-20 23:39:14 +02:00
Niklas Keller
6d2ca5e2b2
Fix EioPoll busy watcher
...
Previously we used listen() + done(). This API design is quite prone to
errors, as it's easy to miss a done() call in some branch. Additionally
this commit ensures that pending operations are always completed before
the EioPoll is completely destructed. Previously unfinished operations
leaked into new EioPoll instances.
2017-06-20 22:59:23 +02:00
Aaron Piotrowski
8cd21e4994
Fix EioPoll destruction
...
The callback was holding a reference to $this. Hopefully this fixes the watcher cancellation issues.
2017-06-20 13:41:53 -05:00
Aaron Piotrowski
c98ea5ec42
Fix code style from merge
2017-06-20 00:31:58 -05:00
Aaron Piotrowski
9e7c1c1488
Forbid simultaneous conflicting ops
...
Signficantly refactored EioHandle and UvHandle.
2017-06-20 00:17:07 -05:00
Aaron Piotrowski
6113cfa453
Use object for eio polling
2017-06-20 00:14:11 -05:00
Niklas Keller
62428ca0ef
Fix code style
2017-06-17 23:41:57 +02:00
Aaron Piotrowski
1f264d949e
Revert "Use byte-stream package"
...
This reverts commit ffde7791d7
.
Oops… wrong branch.
2017-05-12 10:12:44 -05:00
Aaron Piotrowski
b3f354472f
Update for async-interop merge and other Amp changes
2017-03-16 22:39:49 -05:00
Aaron Piotrowski
a8af5a281d
Parallel driver
2016-08-30 14:05:14 -05:00