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

320 Commits

Author SHA1 Message Date
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
Aaron Piotrowski
b286c96eb1 Add Queue and DefaultQueue 2015-12-16 15:53:39 -06:00
Aaron Piotrowski
f7fb6d6ecc Fix process workers; add process pool test 2015-12-16 11:16:21 -06:00
Aaron Piotrowski
8ff3399797 Resolve delayed in a finally block 2015-12-16 11:13:06 -06:00
Aaron Piotrowski
351c86da53 Update docs 2015-12-15 17:41:09 -06:00
Stephen Coakley
2feccb3c9c Latest PHPUnit 4 2015-12-13 18:02:24 -06:00
Stephen Coakley
8198dba640 Update change log for 0.2.0 2015-12-13 17:58:55 -06:00
Stephen Coakley
cf036de907 Update to PHPUnit 5 2015-12-13 17:44:47 -06:00
Stephen Coakley
d07d3e56ed Remove old benchmark scripts 2015-12-13 17:42:24 -06:00
Stephen Coakley
b515575a3e Update Vagrant box 2015-12-12 16:15:37 -06:00
Stephen Coakley
8d0b2ee02a Fix serialization handling for process workers 2015-12-12 00:47:41 -06:00
Stephen Coakley
9a5c03e904 Fix #11 2015-12-12 00:34:41 -06:00
Stephen Coakley
3c2979c18f Fix tests 2015-12-11 23:31:50 -06:00
Stephen Coakley
347132825e Gut lame factories 2015-12-11 23:28:44 -06:00
Stephen Coakley
5970597a59 Update change log 2015-12-11 22:56:15 -06:00
Stephen Coakley
957f4d7f4d Eliminate race conditions and update tests 2015-12-11 22:47:46 -06:00