Aaron Piotrowski
|
cb2bba6cbc
|
Update docs
|
2020-02-14 17:33:38 -06:00 |
|
Aaron Piotrowski
|
17b6b6272f
|
Add void types were able
|
2019-08-27 18:14:56 -05:00 |
|
Aaron Piotrowski
|
beafcdb140
|
Close channel in process when ended
Also restored destructor to DefaultPool to immediately kill workers instead of waiting until the end of the process.
|
2019-01-09 09:28:31 -06:00 |
|
Aaron Piotrowski
|
d7697ebd69
|
Gracefully shutdown workers on process exit
|
2018-12-30 12:38:17 -06:00 |
|
Aaron Piotrowski
|
1c9822a564
|
Fix #66
|
2018-12-19 18:47:43 -06:00 |
|
Aaron Piotrowski
|
4c3c93e46a
|
Fix DefaultPool::shutdown()
Forgot to update this to match Worker::shutdown() behavior.
|
2018-10-27 11:19:01 -05:00 |
|
Aaron Piotrowski
|
1c1d22b7f6
|
Pool::get() → Pool::getWorker()
Also renamed Worker\get() to Worker\pool()->getWorker().
|
2018-10-25 09:54:40 -05:00 |
|
Aaron Piotrowski
|
f1b0a59b86
|
Final all the things!
|
2018-10-21 10:54:46 -05:00 |
|
Aaron Piotrowski
|
83cd550895
|
Remove method kept for BC in DefaultPool
Mark DefaultPool::pull() as private and entire class as final.
|
2018-10-21 10:42:55 -05:00 |
|
Aaron Piotrowski
|
562ae6f68d
|
Remove AbstractWorker::cancel() and report worker as running on start
|
2018-10-08 12:27:18 -05:00 |
|
Aaron Piotrowski
|
5987d844c8
|
Kill pool if still running on destruct
|
2018-10-07 10:16:49 -05:00 |
|
Aaron Piotrowski
|
b654463339
|
Fix code style
|
2018-10-07 09:50:45 -05:00 |
|
Markus Staab
|
dbdc7895ac
|
Fixed typo (#42)
|
2018-02-27 23:26:51 +01:00 |
|
Aaron Piotrowski
|
feb54951cc
|
Simplify worker implementation
Most of the complexity in AbstractWorker was to support out-of-order task execution.
|
2017-12-26 10:02:43 -06:00 |
|
Niklas Keller
|
cfd33799d7
|
Avoid cyclic references, fixes amphp/parallel-functions#5
|
2017-12-26 10:02:43 -06:00 |
|
Aaron Piotrowski
|
312aecf1ff
|
Remove Worker::start()
The context can automatically be started when a job is enqueued.
|
2017-12-13 14:14:31 -06:00 |
|
Aaron Piotrowski
|
cb87b1cd9a
|
Use default sizes as default values
|
2017-12-12 21:59:38 -06:00 |
|
Aaron Piotrowski
|
4426686e54
|
Reorganize
|
2017-12-07 21:26:55 -06:00 |
|
Aaron Piotrowski
|
1adb63d906
|
Remove do*() private methods
Replaced with Amp\call().
|
2017-12-07 20:49:44 -06:00 |
|
Aaron Piotrowski
|
ff146bc8ba
|
Reduce default pool size
|
2017-07-17 22:53:19 -05:00 |
|
Niklas Keller
|
2e9a29ae1c
|
Apply Amp's code style
|
2017-05-18 09:51:31 +02:00 |
|
Aaron Piotrowski
|
6a8eb2130e
|
Update for async-interop merge and other Amp changes
|
2017-03-16 17:03:59 -05:00 |
|
Aaron Piotrowski
|
f5ebd6b435
|
Update for async-interop namespace change
|
2017-01-09 11:11:25 -06:00 |
|
Aaron Piotrowski
|
71f8d2016d
|
Drop strict types
|
2016-12-29 19:16:04 -06:00 |
|
Aaron Piotrowski
|
6d88d87fe0
|
Awaitable → Promise
|
2016-11-14 17:43:44 -06:00 |
|
Aaron Piotrowski
|
67c82f0f2f
|
Minor cleanup and bugfixes
|
2016-09-01 18:10:52 -05:00 |
|
Aaron Piotrowski
|
046f7defb8
|
Refactor DefaultPool
|
2016-08-30 17:36:21 -05:00 |
|
Aaron Piotrowski
|
8126b8e3f2
|
Property docblock cleanup
|
2016-08-26 10:10:03 -05:00 |
|
Aaron Piotrowski
|
ce25a0179d
|
Rename to Parallel
|
2016-08-23 16:47:40 -05:00 |
|
Aaron Piotrowski
|
b924fc2b6e
|
Code cleanup
|
2016-08-22 18:25:19 -05:00 |
|
Aaron Piotrowski
|
c068a5ae38
|
Use strict types; fix tests
|
2016-08-21 23:40:48 -05:00 |
|
Aaron Piotrowski
|
70097cb225
|
Update tests; code cleanup
|
2016-08-18 17:36:58 -05:00 |
|
Aaron Piotrowski
|
da84a772cf
|
Port to Amp
|
2016-08-18 11:04:48 -05:00 |
|
Aaron Piotrowski
|
54810f1d67
|
Update composer and dir name for Amp
|
2016-07-20 09:23:50 -05:00 |
|