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

335 Commits

Author SHA1 Message Date
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
Aaron Piotrowski
4188ab6d10 Update requirements 2016-01-22 23:44:23 -06:00
Aaron Piotrowski
619dfc8be7 Update travis build 2016-01-22 23:32:07 -06:00
Stephen Coakley
ab566d08a1 docs cold turkey 2016-01-17 22:02:52 -06:00
Aaron Piotrowski
d0654e5909 Update changelog 2016-01-15 13:07:12 -06:00
Aaron Piotrowski
b54ef2e01b Update function tests
Mocks were causing some tests to hang... will look at fixing later.
2016-01-15 09:06:57 -06:00
Aaron Piotrowski
dc41c173b9 Improve cancellation of pending tasks; remove worker from pool if stopped 2016-01-14 23:37:02 -06:00
Aaron Piotrowski
aac99ed603 Fix shutdown bug
Leftover code from prior usage the busy queue.
2016-01-14 22:13:38 -06:00
Aaron Piotrowski
d463bc807a Update changelog and readme 2016-01-14 18:55:05 -06:00
Aaron Piotrowski
5d5119d600 Combine pool and queue; rename pull() to get() 2016-01-14 18:54:53 -06:00
Aaron Piotrowski
59907f7884 Update example 2016-01-14 18:16:07 -06:00
Aaron Piotrowski
da1e452e90 Fix bug in factory() 2016-01-14 18:08:39 -06:00
Aaron Piotrowski
e259e956ca Rename test and add function tests 2016-01-14 18:08:06 -06:00
Aaron Piotrowski
c5e17d91c2 Make Environment an interface 2016-01-14 17:44:43 -06:00
Aaron Piotrowski
55f3e1aace Automatically push workers back into the queue 2016-01-14 17:05:31 -06:00
Aaron Piotrowski
1d9804995f Add queue and factory functions 2016-01-11 09:32:06 -06:00
Aaron Piotrowski
7dce2d449d Prevent auto close of stream in thread 2015-12-29 22:29:01 -06:00
Aaron Piotrowski
9a0f48b076 Add Strand; update some docblocks 2015-12-21 11:04:51 -06:00
Aaron Piotrowski
cd8cc4ce9a Update changelog 2015-12-16 17:49:45 -06:00
Aaron Piotrowski
c08f6c9058 Keep track of times pulled in DefaultQueue; add more tests 2015-12-16 17:43:14 -06:00
Aaron Piotrowski
78b8741537 Fix hanging queue test 2015-12-16 17:19:31 -06:00
Aaron Piotrowski
cbc5e4e75e Use null as defaults 2015-12-16 16:39:25 -06:00
Aaron Piotrowski
767b62077b Listen only when join() is called 2015-12-16 16:02:45 -06:00
Aaron Piotrowski
d73de0dd5d Update Pool and DefaultPool 2015-12-16 15:53:53 -06:00