Aaron Piotrowski
|
fe293c09bb
|
Improve process communication error handling
|
2018-10-23 22:14:51 -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
|
526916d13c
|
Ignore multiple shutdown() calls; remove cancel() param
|
2018-10-07 09:56:09 -05:00 |
|
Aaron Piotrowski
|
b654463339
|
Fix code style
|
2018-10-07 09:50:45 -05:00 |
|
Aaron Piotrowski
|
cb5ea736d4
|
Improve process IPC
Processes now use a shared server socket instead of stdin and stdout for IPC.
|
2018-10-07 09:31:35 -05:00 |
|
Aaron Piotrowski
|
ca051a0aa6
|
Fail queued tasks after shutdown is invoked
|
2018-10-07 09:23:42 -05: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
|
f4411805d6
|
Fail task with SerializationException; cancel worker if sending otherwise fails
|
2017-12-13 20:56:28 -06:00 |
|
Aaron Piotrowski
|
9e7d1e0801
|
Throw if sending task fails
|
2017-12-13 16:29:44 -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
|
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
|
33a5b89ff7
|
Refactor Parcels
|
2017-11-29 14:40:07 -06:00 |
|
Aaron Piotrowski
|
f48066eb1b
|
Drop Fork along with Process and Strand interfaces
Forking is just too dangerous for virtually no gain over Process. Context now extends Sync\Channel.
|
2017-11-10 09:59:23 -06:00 |
|
Aaron Piotrowski
|
84b611e780
|
Move ExitResult classes out of Internal namespace
|
2017-07-28 17:34:24 -05:00 |
|
Aaron Piotrowski
|
29a1d1bb8c
|
Maintain task order for fast-finishing/blocking tasks
|
2017-06-19 22:14:19 -05:00 |
|
Aaron Piotrowski
|
20bb51e926
|
Improve worker error reporting
|
2017-06-17 23:57:12 -05:00 |
|
Niklas Keller
|
2e9a29ae1c
|
Apply Amp's code style
|
2017-05-18 09:51:31 +02:00 |
|
Aaron Piotrowski
|
1f637cfc6f
|
Map deferreds to promises
|
2017-05-17 23:28:18 -05:00 |
|
Aaron Piotrowski
|
c7294da60d
|
Reorganize exception classes and add TaskError
TaskError is thrown if the exception thrown in the worker was an instance of Error.
|
2017-05-17 23:13:29 -05:00 |
|
Aaron Piotrowski
|
9bf978ad01
|
when() → onResolve()
|
2017-03-21 18:45:23 -05: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
|
ce25a0179d
|
Rename to Parallel
|
2016-08-23 16:47:40 -05:00 |
|
Aaron Piotrowski
|
c068a5ae38
|
Use strict types; fix tests
|
2016-08-21 23:40:48 -05:00 |
|
Aaron Piotrowski
|
193581d6c9
|
Run multiple tasks simultaneously on workers
|
2016-08-21 10:33:39 -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 |
|