1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-02 17:52:14 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
Aaron Piotrowski
6ed128f3e7
Quite style fixer 2017-07-20 23:58:13 -05:00
Aaron Piotrowski
affe305e93
Use null for new scope 2017-07-20 23:36:53 -05:00
Aaron Piotrowski
1a6896b047
Exit thread immediately if parent context died while starting 2017-07-20 23:36:28 -05:00
Aaron Piotrowski
f716981c95
Exit thread immediately if killed while loading autoloader 2017-07-19 00:14:16 -05:00
Aaron Piotrowski
58ce0df037
Remove unnecessary try/catch
execute() will never throw, so no reason to wrap in try/catch.
2017-07-19 00:08:55 -05:00
Aaron Piotrowski
bba0610ede
Use call() to execute context function 2017-07-19 00:07:04 -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
2e9a29ae1c Apply Amp's code style 2017-05-18 09:51:31 +02: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
cc6f785fa9 Pause → Delayed 2017-05-10 23:45:02 -05:00
Niklas Keller
b148a20257 Update to latest Amp and byte-stream changes 2017-05-10 09:05:35 +02: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
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
Niklas Keller
7e8381a526 Make require conservative and scope protect it 2017-01-15 17:44:00 +01:00
Aaron Piotrowski
f5ebd6b435 Update for async-interop namespace change 2017-01-09 11:11:25 -06:00
Aaron Piotrowski
9deb8e3f8c Update for removal of Amp loop wrapper functions 2016-12-29 19:20:19 -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
c4a5082d90 Minor cleanup/refactoring 2016-09-07 11:38:46 -05:00
Aaron Piotrowski
67c82f0f2f Minor cleanup and bugfixes 2016-09-01 18:10:52 -05:00
Aaron Piotrowski
fa8985d7e3 Remove dependency on amphp/socket 2016-08-30 18:27:14 -05:00
Aaron Piotrowski
833dedb796 Update for Amp changes: return generator, not awaitable 2016-08-28 23:47:15 -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