Commit Graph

22 Commits

Author SHA1 Message Date
Aaron Piotrowski
7f8ca5472d Add DelegatingWorkerPool
Some checks are pending
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (false, on Windows, windows-latest, nts, 8.3) (push) Waiting to run
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (false, on macOS, macos-latest, nts, 8.3) (push) Waiting to run
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (false, ubuntu-latest, nts, 8.1) (push) Waiting to run
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (false, ubuntu-latest, nts, 8.2) (push) Waiting to run
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (false, ubuntu-latest, nts, 8.3) (push) Waiting to run
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (none, true, with ext-parallel, ubuntu-latest, parallel, ts, 8.2, none, none) (push) Waiting to run
Continuous Integration / PHP ${{ matrix.php-version }} ${{ matrix.job-description }} (none, true, with ext-parallel, ubuntu-latest, parallel, ts, 8.3, none, none) (push) Waiting to run
2024-09-01 09:40:09 -05:00
Aaron Piotrowski
f013263aff Thread worker tests 2023-12-27 12:33:25 -06:00
Niklas Keller
a4b23892a1 Remove ipcHub()
Users should use the factories instead.

Closes #163.
2023-02-14 21:19:44 +01:00
Aaron Piotrowski
7581a05b8b Add cancellation to context factory 2023-01-02 12:51:22 -06:00
Aaron Piotrowski
9e5eec211a Declare strict types 2022-12-17 15:49:26 -06:00
Aaron Piotrowski
aa9d387385 Rename ContextFactory::create to start 2022-02-06 10:09:10 -06:00
Aaron Piotrowski
53e59efd1d Use ContextFactory in DefaultWorkerFactory
Eliminates WorkerProcess and WorkerParallel static constructor classes.
2021-12-26 00:45:30 -06:00
Aaron Piotrowski
85b8f3de16 Make TaskWorker final 2021-12-22 15:11:41 -06:00
Aaron Piotrowski
e47e788e17 Update for Revolt changes and Futures 2021-09-17 14:50:57 -05:00
Niklas Keller
477025c44d Use revolt 2021-03-27 08:05:02 +01:00
Aaron Piotrowski
b654463339 Fix code style 2018-10-07 09:50:45 -05:00
Aaron Piotrowski
0d40e6da98 Do not fclose socket or null thread ref; restore GC test 2017-12-27 12:36:28 -06:00
Aaron Piotrowski
e6a5de671a Move GC test to ProcessPoolTest 2017-12-27 12:17:35 -06:00
Aaron Piotrowski
312aecf1ff Remove Worker::start()
The context can automatically be started when a job is enqueued.
2017-12-13 14:14:31 -06:00
Aaron Piotrowski
cb87b1cd9a Use default sizes as default values 2017-12-12 21:59:38 -06:00
Niklas Keller
2e9a29ae1c Apply Amp's code style 2017-05-18 09:51:31 +02:00
Aaron Piotrowski
71f8d2016d Drop strict types 2016-12-29 19:16:04 -06: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
70097cb225 Update tests; code cleanup 2016-08-18 17:36:58 -05:00
Aaron Piotrowski
da84a772cf Port to Amp 2016-08-18 11:04:48 -05:00