1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-12 09:09:35 +01:00
Commit Graph

60 Commits

Author SHA1 Message Date
Aaron Piotrowski
15ead6c976
Attach oringal exception message to SerializationException
Related to #103.
2020-02-27 22:44:51 -06:00
Aaron Piotrowski
cb2bba6cbc
Update docs 2020-02-14 17:33:38 -06:00
Aaron Piotrowski
53a97cbd92
Expand context & task exceptions 2020-02-14 12:55:38 -06:00
Jáchym Toušek
1e8062c702
Fix flattenArgument for booleans (#97) 2020-02-11 09:57:22 -06:00
Aaron Piotrowski
0597620f56
Serialize exception trace arguments in child processes and threads 2020-02-10 17:30:09 -06:00
Aaron Piotrowski
72dd3a495f
Deprecate classes using ext-pthreads
See https://github.com/krakjoe/pthreads/issues/929
2020-02-04 13:42:47 -06:00
Aaron Piotrowski
17b6b6272f
Add void types were able 2019-08-27 18:14:56 -05:00
Aaron Piotrowski
3cce945d93
Note method to retreive stacktrace in exception messages 2019-03-02 09:19:00 -06:00
Aaron Piotrowski
1150428281
Better handling of unserialization errors
Still fails even if E_NOTICE errors are not being reported.
2019-02-20 17:22:48 -06:00
Aaron Piotrowski
23669b9572
Add reference/unreference methods to ChannelledSocket 2019-02-14 18:09:13 -06:00
Aaron Piotrowski
1ee8e202ed
Apply the same treatment to context exceptions
Sends info about previous exceptions thrown in the context to the parent.
2019-01-25 17:53:19 -06:00
Aaron Piotrowski
8caf8d4dce
Fix missed exception construct 2018-10-24 23:02:24 -05:00
Aaron Piotrowski
3f2e6d7f07
Drop custom exception constructors 2018-10-24 22:49:01 -05:00
Aaron Piotrowski
fe293c09bb
Improve process communication error handling 2018-10-23 22:14:51 -05:00
Aaron Piotrowski
f1b0a59b86
Final all the things! 2018-10-21 10:54:46 -05:00
Aaron Piotrowski
b654463339
Fix code style 2018-10-07 09:50:45 -05:00
Aaron Piotrowski
abaa1609fd
Improve error message for invalid channel data 2018-01-22 16:12:55 -06:00
Aaron Piotrowski
91314f13f6
Shorten message from uncaught context exceptions 2017-12-12 21:08:59 -06:00
Aaron Piotrowski
cb15de11ff
Catch StreamExceptions thrown when reading
try/catch should have been around call to read().
2017-12-10 13:54:11 -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
d0a3001c6a
Fix a couple mistakes… 2017-11-29 15:07:00 -06:00
Aaron Piotrowski
599cbb8a82
Anonymous class → defined class 2017-11-29 15:05:15 -06:00
Aaron Piotrowski
3aff92fec4
Consolodate process and thread contexts into Context namespace 2017-11-29 15:01:32 -06:00
Aaron Piotrowski
33a5b89ff7
Refactor Parcels 2017-11-29 14:40:07 -06:00
Aaron Piotrowski
996654920d
Update for export of mutex and semaphore to amphp/sync 2017-11-29 14:12:28 -06:00
Aaron Piotrowski
dbd3403087
Quiet style fixer 2017-11-10 11:35:47 -06:00
Aaron Piotrowski
26e826a05f
Add code to exception message, addresses #21
Code is no longer passed to exception constructor in parent context.
2017-11-10 11:32:15 -06:00
Aaron Piotrowski
84b611e780
Move ExitResult classes out of Internal namespace 2017-07-28 17:34:24 -05:00
Aaron Piotrowski
6ed128f3e7
Quite style fixer 2017-07-20 23:58:13 -05:00
Aaron Piotrowski
c22d2838c7
Read more data if channel prefix is invalid 2017-06-28 23:59:24 -05:00
Niklas Keller
4546ef8b1d Skip cli_set_process_title inside phpdbg 2017-06-17 20:46:22 +02:00
Niklas Keller
a6bca0f085 Fix code style 2017-06-17 18:31:35 +02:00
Aaron Piotrowski
f9be01adb5 Use parser package; refactor ChannelledSocket 2017-06-07 23:33:13 -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
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
6a8eb2130e Update for async-interop merge and other Amp changes 2017-03-16 17:03:59 -05:00
Aaron Piotrowski
dd496568ea Restore error handler before failing promise 2017-03-09 10:26:17 -06:00
Aaron Piotrowski
b51e4f7ba6 ExitStatus → ExitResult 2017-01-16 23:24:59 -06:00
Aaron Piotrowski
34771fa0a9 Simplify writing to channel 2017-01-16 12:57:36 -06:00
Aaron Piotrowski
7554767d6a Stream → ByteStream 2017-01-09 11:11:46 -06: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
4b5ca2013d Add missed type declarations 2016-09-01 23:51:48 -05:00