1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-30 04:39:01 +01:00
Commit Graph

620 Commits

Author SHA1 Message Date
Niklas Keller
a6bca0f085 Fix code style 2017-06-17 18:31:35 +02:00
Niklas Keller
10eb45e75c Fix php-cs-fixer config 2017-06-17 18:23:28 +02:00
Niklas Keller
f75742e788 Fix Travis build for PHP 7.2 2017-06-17 18:18:29 +02:00
Aaron Piotrowski
be0d786e14 example → examples 2017-06-16 00:04:10 -05:00
Aaron Piotrowski
936f232172 Used tagged process version 2017-06-16 00:02:20 -05:00
Aaron Piotrowski
820b6897ed Update for process changes 2017-06-15 23:46:15 -05:00
Aaron Piotrowski
f9be01adb5 Use parser package; refactor ChannelledSocket 2017-06-07 23:33:13 -05:00
Aaron Piotrowski
5a36a60651 Delay call to close 2017-06-01 11:15:03 -05:00
Aaron Piotrowski
0b16820ca8 Check for exit when sending as well 2017-05-28 00:09:13 -05:00
Aaron Piotrowski
a31f3491ca Only check for exit when receiving, fixes #9 2017-05-27 00:43:09 -05:00
Niklas Keller
84d405db3f Merge pull request #8 from stefanotorresi/patch-1
rename Pause to Delayed
2017-05-26 11:59:55 +02:00
Stefano Torresi
dccd2c08e0 rename Pause to Delayed 2017-05-26 11:55:08 +02:00
Aaron Piotrowski
149dbe4ba3 Use Amp\call to run tasks
Handles generator to coroutine convertion and React promises automatically.
2017-05-19 17:13:42 -05:00
Aaron Piotrowski
f0a034e871 Fix permissions
Ugh… can't believe I did this here too…
2017-05-18 17:21:52 -05:00
Aaron Piotrowski
6c8cd0fe01 Remove old changelog, addresses #7 2017-05-18 17:20:45 -05:00
Aaron Piotrowski
a6894c2a1f Move extension installation to separate scripts 2017-05-18 17:19:50 -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
Niklas Keller
70bed8ec57 Remove 7.1 from allowed failures 2017-05-11 09:26:54 +02:00
Aaron Piotrowski
cc6f785fa9 Pause → Delayed 2017-05-10 23:45:02 -05:00
Aaron Piotrowski
fbb665a954 Remove unused imports 2017-05-10 23:40:52 -05:00
Niklas Keller
b148a20257 Update to latest Amp and byte-stream changes 2017-05-10 09:05:35 +02:00
Niklas Keller
f57281fa04 Update to new byte-stream package 2017-04-24 22:08:41 +02:00
Aaron Piotrowski
c753d1bf6e Allow more time for kill 2017-04-24 10:47:53 -05:00
Aaron Piotrowski
c9be318356 Create new event loop in fork 2017-04-24 09:51:24 -05:00
Aaron Piotrowski
19d8cf79a1 Update ChannelledStream
Refactor of ReadableStream means ChannelledStream needed to change significantly.
2017-04-16 10:12:42 -05:00
Aaron Piotrowski
8a18a7a7b8 Require both params in constructor 2017-03-25 01:19:46 -05:00
Aaron Piotrowski
99c876f522 Update for stream changes 2017-03-23 19:25:35 -05:00
Aaron Piotrowski
9cb6359de3 Allow more time for kill
Threads only check once every 250 ms.
2017-03-21 23:33:40 -05:00
Aaron Piotrowski
774a42376d Fix risky test 2017-03-21 23:25:45 -05:00
Aaron Piotrowski
6c0078b915 Update to PHPUnit 6 and use helper package 2017-03-21 23:19:15 -05:00
Aaron Piotrowski
9bf978ad01 when() → onResolve() 2017-03-21 18:45:23 -05:00
Aaron Piotrowski
34d07fcd34 Update for process change 2017-03-16 22:26:05 -05:00
Aaron Piotrowski
0236fc5336 Kill worker forks
Forking for workers is just not a good idea… it's too likely to be used irresponsibly.
2017-03-16 17:33:30 -05:00
Aaron Piotrowski
7f592265d0 Do not auto close sockets in child 2017-03-16 17:11:49 -05:00
Aaron Piotrowski
6a8eb2130e Update for async-interop merge and other Amp changes 2017-03-16 17:03:59 -05:00
Aaron Piotrowski
9cc70c1f86 Periodically check for dead thread 2017-03-09 16:55:11 -06:00
Aaron Piotrowski
93c996b6c5 Cleaner doReceive 2017-03-09 16:48:34 -06:00
Aaron Piotrowski
c16a015562 Convert ChannelException to ContextException 2017-03-09 16:15:30 -06:00
Aaron Piotrowski
dd496568ea Restore error handler before failing promise 2017-03-09 10:26:17 -06:00
Aaron Piotrowski
d6a1b19b8e Update examples 2017-02-18 11:06:03 -06:00
Aaron Piotrowski
0912d39004 Remove WorkerFork from DefaultWorkerFactory 2017-02-17 17:00:24 -06:00
Niklas Keller
27247f83a4 Fix syntax error 2017-01-17 18:53:42 +01:00
Niklas Keller
3d5e1bcfe6 Simplify autoload finder 2017-01-17 16:46:30 +01:00
Niklas Keller
b85b350444 Make autoloader search more strict 2017-01-17 12:14:06 +01:00
Aaron Piotrowski
b51e4f7ba6 ExitStatus → ExitResult 2017-01-16 23:24:59 -06:00
Aaron Piotrowski
03cd67c30f Autoload is one word 2017-01-16 13:45:32 -06:00
Aaron Piotrowski
99f217f5b9 Use get_included_files() to locate autoloader; protect static scope as well 2017-01-16 13:30:16 -06:00
Aaron Piotrowski
5573c7149e Merge pull request #2 from amphp/conservative-require
Make require conservative and scope protect it
2017-01-16 13:12:02 -06:00