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

608 Commits

Author SHA1 Message Date
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
4b5ca2013d Add missed type declarations 2016-09-01 23:51:48 -05:00
Aaron Piotrowski
b995524007 Make uncaught exception name available in PanicError 2016-09-01 23:38:00 -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
046f7defb8 Refactor DefaultPool 2016-08-30 17:36:21 -05:00
Aaron Piotrowski
3d2964ff10 Add method to retreive class name thrown from tasks 2016-08-30 13:40:46 -05:00
Aaron Piotrowski
833dedb796 Update for Amp changes: return generator, not awaitable 2016-08-28 23:47:15 -05:00
Aaron Piotrowski
fdb4a81600 Remove reference to process object from watcher 2016-08-28 23:10:10 -05:00
Aaron Piotrowski
8126b8e3f2 Property docblock cleanup 2016-08-26 10:10:03 -05:00
Aaron Piotrowski
740239c0f4 Disable exit code watcher after creation 2016-08-26 10:02:49 -05:00
Aaron Piotrowski
c38b921029 examples -> example 2016-08-26 09:53:18 -05:00
Aaron Piotrowski
3765dcfadc Update version aliases 2016-08-24 09:22:26 -05:00
Aaron Piotrowski
bc6f0a0da3 Add 7.1 to allowed failures 2016-08-23 16:55:44 -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
193581d6c9 Run multiple tasks simultaneously on workers 2016-08-21 10:33:39 -05:00
Aaron Piotrowski
347c4615b1 Update travis build 2016-08-18 17:50:39 -05:00
Aaron Piotrowski
70097cb225 Update tests; code cleanup 2016-08-18 17:36:58 -05:00
Aaron Piotrowski
0e1e0393ff Update readme 2016-08-18 11:08:45 -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
Aaron Piotrowski
74e9e76fe6 Merge branch 'v1.x' 2016-02-21 23:07:31 -06:00
Aaron Piotrowski
3ed755ef6e Update readme 2016-02-21 23:06:04 -06:00
Aaron Piotrowski
c9b9aa148f Close stream and process before resolving delayed 2016-02-21 10:36:01 -06:00
Aaron Piotrowski
8c838c85e1 Merge branch 'v1.x' 2016-02-14 15:27:30 -06:00
Aaron Piotrowski
85e730f4f0 Update readme 2016-02-14 15:27:06 -06:00
Aaron Piotrowski
65cbc5e64e Fix thread running status after start
Threads often reported as not running immediately after starting.
2016-02-14 15:21:39 -06:00
Aaron Piotrowski
b8973fced0 Remove static variable limitation
pthreads 3 supports closures with static variables in threads
2016-01-27 01:23:50 -06:00
Aaron Piotrowski
ae7ec0529c Exception -> Throwable 2016-01-27 01:03:37 -06:00
Aaron Piotrowski
2c39dc944a Merge branch 'v1.x' 2016-01-27 00:58:26 -06:00
Aaron Piotrowski
286003fa17 Exit thread if creating the channel fails 2016-01-27 00:54:51 -06:00
Aaron Piotrowski
8649fd7be8 Merge branch 'v1.x' 2016-01-25 23:16:55 -06:00
Aaron Piotrowski
61c8bdd44d Refactor sending task to worker context 2016-01-25 22:59:02 -06:00
Aaron Piotrowski
6fad633e0d Fix task runner 2016-01-24 23:12:03 -06:00
Aaron Piotrowski
464a5ef87e Allow run() to return anything 2016-01-24 23:04:29 -06:00
Aaron Piotrowski
d14f0e6256 Change missed yield -> yield from 2016-01-24 23:03:45 -06:00
Aaron Piotrowski
15858d26ca Add missed return types 2016-01-24 22:59:14 -06:00
Aaron Piotrowski
6b1cc56ffa Remove arg type from unserialize() 2016-01-23 11:38:22 -06:00
Aaron Piotrowski
b46a23ee1e Fix functions tests 2016-01-23 11:37:01 -06:00
Aaron Piotrowski
fe6e94b6a9 Merge branch 'v1.x' 2016-01-23 11:29:22 -06:00
Aaron Piotrowski
fed62267f8 Handle serialization error separately 2016-01-23 11:20:58 -06:00
Aaron Piotrowski
a2a41e4296 Fix incorrrect use namespace 2016-01-23 10:59:06 -06:00
Aaron Piotrowski
453533e09e Return if sending result fails
If sending the actual result failed, sending the reason won't work either. :)
2016-01-23 10:57:10 -06:00
Aaron Piotrowski
2290835fc0 Thread::kill() was removed in pthreads 3 2016-01-23 10:52:18 -06:00
Aaron Piotrowski
92999aba6f Update vagrant box for PHP 7 2016-01-23 10:50:56 -06:00
Aaron Piotrowski
d099af993e Add branch alias 2016-01-23 00:06:22 -06:00
Aaron Piotrowski
14f2d6d707 Update with PHP 7 features 2016-01-23 00:00:56 -06:00