1
0
mirror of https://github.com/danog/parallel.git synced 2024-12-11 16:49:51 +01:00
Commit Graph

501 Commits

Author SHA1 Message Date
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
Stephen Coakley
c6d350d802 Update example to demonstrate concurrency 2015-12-11 22:44:51 -06:00
Stephen Coakley
c7d2357c81 Fix shutdown errors while a task is running 2015-12-11 22:44:25 -06:00
Stephen Coakley
2d001c5bfe Handle rapidly enqueued tasks on workers 2015-12-11 18:15:15 -06:00
Stephen Coakley
d8b21c3283 Remove unused constant 2015-12-11 17:13:02 -06:00
Aaron Piotrowski
77f45f3d6b Update exception classes 2015-12-06 00:40:48 -06:00
Aaron Piotrowski
fdcc182955 Rename to ChannelledStream
Use only one byte for verificaiton
2015-12-06 00:32:06 -06:00
Aaron Piotrowski
b994cab086 Minor updates and tweaks 2015-12-05 01:09:42 -06:00
Aaron Piotrowski
fe9a213431 Add null bytes as validity check 2015-12-05 00:54:15 -06:00
Aaron Piotrowski
dae18271e8 Update travis build 2015-12-04 23:54:55 -06:00
Aaron Piotrowski
5bca326354 Remove Interface suffixes 2015-12-04 23:50:32 -06:00
Aaron Piotrowski
92a26930ee Update for Icicle v0.9 2015-12-04 21:54:55 -06:00
Aaron Piotrowski
dd9479d8bb Update branch name 2015-12-04 21:46:17 -06:00
Stephen Coakley
bec2a19e20 Update change log for v0.1.1 2015-11-13 21:22:12 -06:00
Stephen Coakley
a392132299 Add tests and fix process killing not detaching 2015-11-11 02:59:22 -06:00
Stephen Coakley
8f22150160 Add methods for checking fork/thread availability and unsupported checks 2015-11-11 01:07:59 -06:00
Stephen Coakley
48ea5a2b42 Merge pull request #9 from yched/pool_maxsize
Fix $maxSize being ignored in Pool constructor
2015-11-08 14:02:26 -06:00
Yves Chedemois
486a3e4c7a Pool $maxSize was ignored 2015-11-08 15:49:35 +01:00
Aaron Piotrowski
a71abaf61d Fix issue with error handler
Using yield within the try block caused the error handler to persist through the next loop iteration, catching any error.
2015-10-28 18:50:01 -05:00
Aaron Piotrowski
c25608c893 Refactor ContextInterface and add ProcessInterface 2015-10-20 00:06:43 -05:00