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

261 Commits

Author SHA1 Message Date
Aaron Piotrowski
348f7c7461 Add getSize() to SemaphoreInterface; better cloning support 2015-09-03 18:31:29 -05:00
Aaron Piotrowski
d47e56a840 Update parcels 2015-09-03 18:11:58 -05:00
Aaron Piotrowski
3c93d2c383 Update tests and coverage annotations; fix some docs 2015-09-03 18:10:19 -05:00
Stephen Coakley
7e7639442f Keep track of PosixSemaphore size & handle cloning 2015-09-03 17:20:58 -05:00
Stephen Coakley
3e962d3a0e Add some docs for parcel behavior 2015-09-03 17:07:20 -05:00
Aaron Piotrowski
a281e34077 Update Channel and add more tests 2015-09-02 18:29:48 -05:00
Aaron Piotrowski
c32e0ff9bf Fix potential fclose error when joining or killing thread 2015-09-02 17:24:01 -05:00
Aaron Piotrowski
94a80dc530 Remove synchronized() from threads 2015-09-02 17:23:22 -05:00
Aaron Piotrowski
45a54f3f78 Update Thread; add more tests 2015-09-02 16:34:42 -05:00
Aaron Piotrowski
7a60d74937 Tweak worker pool; reject pending tasks on shutdown 2015-09-02 08:51:59 -05:00
Aaron Piotrowski
c0ed3e3c05 Fix thread reporting being open after kill 2015-09-01 21:10:58 -05:00
Aaron Piotrowski
172c64c583 Fix threaded mutex and semaphore 2015-09-01 20:58:22 -05:00
Aaron Piotrowski
c5ff71f4b4 Remove arguments from TaskInterface::run() 2015-09-01 16:20:57 -05:00
Aaron Piotrowski
1c4244d0b9 Remove FIFO from threaded semaphore; improve threaded mutex 2015-09-01 16:19:59 -05:00
coderstephen
2af5fff01b Disable PHP 7 on master for now 2015-08-31 16:13:12 -05:00
Aaron Piotrowski
9f86336edd Merge branch 'master' of https://github.com/icicleio/concurrent
Conflicts:
	tests/Threading/ThreadTest.php
2015-08-31 14:13:54 -05:00
Aaron Piotrowski
0e7944afea Check if thread is running before killing 2015-08-31 14:12:38 -05:00
coderstephen
a0a5dafdb6 Try to fix testKill occasionally hanging 2015-08-31 14:04:42 -05:00
coderstephen
b212d00735 Fix timing in sync tests 2015-08-31 14:00:07 -05:00
Aaron Piotrowski
a78ddc6ca8 Fix missed variable rename 2015-08-31 13:49:26 -05:00
Aaron Piotrowski
1ba162da36 Fix fork killing; fix timing in tests 2015-08-31 13:30:07 -05:00
coderstephen
b588c08480 Merge branch 'master' of github.com:icicleio/concurrent 2015-08-31 12:57:55 -05:00
coderstephen
3ee7e7ab0d Fix worker tests to not use kill() so much 2015-08-31 12:57:40 -05:00
coderstephen
3df0194563 Fix error with isFreed() after calling free() 2015-08-31 12:48:07 -05:00
Aaron Piotrowski
49eb873c8b Fix travis config 2015-08-31 12:44:19 -05:00
Stephen Coakley
1c67b1061f Merge pull request #6 from icicleio/fast-syncs
Parcels implementing SynchronizableInterface and fast semaphores
2015-08-31 12:36:29 -05:00
coderstephen
d37052615e Doc fixes 2015-08-31 12:26:11 -05:00
coderstephen
99a39a2afc Add permissions control for POSIX semaphores 2015-08-31 12:12:35 -05:00
coderstephen
fd47b30f35 Synchronization for parcels 2015-08-31 11:57:55 -05:00
coderstephen
7e46cb42d7 Handle semaphores larger than the max queue size 2015-08-31 11:42:30 -05:00
coderstephen
3c531d2d02 Remove old POSIX semaphores & shared objects 2015-08-31 04:22:42 -05:00
coderstephen
ec3f5621b7 Implement fast algorithm for POSIX semaphores 2015-08-31 04:22:42 -05:00
coderstephen
52aa8a7255 Fix parcel not containing initial value 2015-08-31 04:21:44 -05:00
Aaron Piotrowski
c39a5708df Add travis config 2015-08-30 22:06:45 -05:00
coderstephen
f72dade1ed Add priority control for forks 2015-08-30 21:26:47 -05:00
coderstephen
fa1f875071 Add badge placeholders and short description 2015-08-30 18:42:57 -05:00
coderstephen
1fe1374c8a Fix & improve tests; add thread start error check 2015-08-30 18:25:44 -05:00
coderstephen
25fbe7a9a8 Documentation & unused argument fixes 2015-08-30 17:52:00 -05:00
Aaron Piotrowski
6febc476b8 Fix some missed use statements 2015-08-29 02:13:14 -05:00
Aaron Piotrowski
4e3dc75b09 Cleanup forking 2015-08-29 02:11:55 -05:00
Aaron Piotrowski
4f49ea8b3f Reorganize internal classes; update ParcelInterface 2015-08-29 01:40:10 -05:00
Aaron Piotrowski
b0ddd761a6 Remove LocalObject and LocalStorage 2015-08-29 01:03:46 -05:00
coderstephen
789f6f5620 Add standard PoolInterface 2015-08-29 00:41:00 -05:00
coderstephen
ef90b760e4 Add some tests for workers 2015-08-28 20:55:30 -05:00
coderstephen
95cbd8a365 Various improvements for worker pools 2015-08-28 20:30:53 -05:00
coderstephen
725d94f379 More tests 2015-08-28 16:58:15 -05:00
coderstephen
9a4cdf7b40 Better running and kill detection 2015-08-28 16:18:02 -05:00
coderstephen
9559d32241 Fix broken tests & add skips when extension needed 2015-08-28 15:09:07 -05:00
coderstephen
12023bd81e Fix garbage and broken tests 2015-08-28 14:41:27 -05:00
coderstephen
8abb317507 Close channels when finished 2015-08-28 13:38:16 -05:00