Commit Graph

  • a538c04b86 Unused import fork-context Aaron Piotrowski 2025-04-20 10:35:50 -05:00
  • 141c62935e Look for StreamSelectLoop Aaron Piotrowski 2025-04-20 10:13:48 -05:00
  • e8207c4799 Fix copy/pasta mistake Aaron Piotrowski 2025-04-20 10:10:10 -05:00
  • ec3d242b7c Fork context (#214) Daniil Gentili 2025-03-22 00:33:51 +01:00
  • e7333d0cd2 Merge branch '2.x' into fork-context Aaron Piotrowski 2025-03-16 13:23:48 -05:00
  • 6bcfa22d88 Test on PHP 8.4 2.x Aaron Piotrowski 2025-03-16 13:21:35 -05:00
  • 84d7acf4c1 Update CI action versions Aaron Piotrowski 2025-03-16 13:21:08 -05:00
  • 981895dd9e Fixup Daniil Gentili 2025-03-10 13:05:23 +01:00
  • ffedc39004 Fixup tests Daniil Gentili 2025-03-07 17:39:50 +01:00
  • 03a5cddb84 Fix Aaron Piotrowski 2025-03-01 14:50:55 -06:00
  • 31d8b70286 Updates Aaron Piotrowski 2025-03-01 14:48:49 -06:00
  • 8ac48fac0d Add ForkContext Aaron Piotrowski 2025-03-01 09:36:05 -06:00
  • 9678e00380 Add .github and psalm.xml to export-ignore (#210) Mikhail 2025-02-23 15:04:24 +07:00
  • a922ec764d Avoid PHP object allocation issue Aaron Piotrowski 2025-02-08 09:02:53 -06:00
  • 5113111de0 Prevent silencing ExitFailure in ProcessContext->join() (#207) v2.3.1 Bob Weinand 2024-12-21 02:56:09 +01:00
  • 508ca221f2 Remove --ignore-platform-req=php for PHP 8 v1.4.4 1.x Niklas Keller 2024-12-08 17:28:11 +01:00
  • e551086bc4 Avoid installing php-cs-fixer on legacy versions Niklas Keller 2024-12-08 17:25:39 +01:00
  • db6e3f6fe2 Remove AppVeyor build Niklas Keller 2024-12-08 17:05:43 +01:00
  • 94a65903f7 Fix PHP 8.4 deprecations Niklas Keller 2024-12-08 17:05:28 +01:00
  • 9777db1460 Add LimitedWorkerPool (#205) v2.3.0 Aaron Piotrowski 2024-09-14 14:16:14 -05:00
  • feed27e9a2 Add getLimit() method Aaron Piotrowski 2024-09-01 22:47:07 -05:00
  • 7f8ca5472d Add DelegatingWorkerPool Aaron Piotrowski 2024-09-01 09:40:09 -05:00
  • b4f39786c8 Remove default xdebug options, only set those which are defined Aaron Piotrowski 2024-07-23 14:35:39 -05:00
  • 73d293f1fc Use error handler instead of error suppression v2.2.9 Aaron Piotrowski 2024-03-24 13:27:44 -05:00
  • 051211ab31 Fix simultaneous accept cancel and server close Aaron Piotrowski 2024-03-19 20:02:23 -05:00
  • efd71b342b Fix composer requirements v2.2.8 Niklas Keller 2024-03-19 17:09:19 +01:00
  • 0cb870ad59 Fix psalm error Niklas Keller 2024-03-19 17:05:04 +01:00
  • 9aed188b24 Fix SocketIpcHub::accept if already cancelled Niklas Keller 2024-03-19 16:46:48 +01:00
  • 9403846875 Fix race condition on concurrent IPC connects Niklas Keller 2024-03-19 16:20:05 +01:00
  • ffda869c33 Better cancelled execution creation v2.2.7 Aaron Piotrowski 2024-03-16 11:15:46 -05:00
  • a00eb2d014 Update example styles Aaron Piotrowski 2024-01-28 12:39:24 -06:00
  • af91ae75d8 Mark template type as covariant Aaron Piotrowski 2024-01-28 12:36:26 -06:00
  • 16cc5d886c Update for new Psalm version Aaron Piotrowski 2024-01-28 12:34:05 -06:00
  • 8102980497 Fix method reference Aaron Piotrowski 2024-01-28 12:30:37 -06:00
  • 0dfd136a17 Increase timeout before cancellation Aaron Piotrowski 2024-01-28 12:19:04 -06:00
  • e705d00643 Do not submit cancelled tasks Aaron Piotrowski 2024-01-28 11:12:48 -06:00
  • 024369c526 Small improvements on examples (#194) thgs 2024-01-07 18:50:32 +00:00
  • 5aeaad2029 Fix referenced watcher hanging event loop if worker is not joined v2.2.6 Aaron Piotrowski 2024-01-07 12:12:13 -06:00
  • 7b53bad38e Add IPC docs v2.2.5 Aaron Piotrowski 2023-12-27 12:53:31 -06:00
  • f013263aff Thread worker tests Aaron Piotrowski 2023-12-27 12:31:22 -06:00
  • 8984c838c2 Mark test as not performing assertions instead of skipped Aaron Piotrowski 2023-12-27 12:31:09 -06:00
  • 48653bc140 Better pool shutdown Aaron Piotrowski 2023-12-27 12:28:11 -06:00
  • 470293d4b4 Adjust some tests for Windows CI Aaron Piotrowski 2023-12-27 11:33:06 -06:00
  • 0a0ab6bc61 ext-parallel is buggy on 8.1 Aaron Piotrowski 2023-12-27 11:30:48 -06:00
  • 241ad1b3d4 Update Psalm and suppress false-positive Aaron Piotrowski 2023-12-27 11:21:24 -06:00
  • 42c53f01b2 Skip exit test in thread Aaron Piotrowski 2023-12-27 11:17:31 -06:00
  • bedf7ed2ce Unreference std streams Aaron Piotrowski 2023-12-27 11:16:30 -06:00
  • 8b8f33a742 Add previous exception message when fail to start process (#192) v2.2.4 thgs 2023-11-29 04:21:30 +00:00
  • 340f1a9204 Fix removing temp IPC sock Aaron Piotrowski 2023-11-26 10:08:57 -06:00
  • 223c47cfa5 Fix accept after cancelling prior accept v2.2.3 Aaron Piotrowski 2023-11-24 18:18:59 -06:00
  • f54bb40906 Clarify autoload requirement in example v2.2.2 Aaron Piotrowski 2023-08-30 12:43:42 -05:00
  • 24e2b7797b Ignore UnsupportedPropertyReferenceUsage from Psalm Aaron Piotrowski 2023-08-30 12:43:25 -05:00
  • 443df35cd9 Pipe stdio to parent Aaron Piotrowski 2023-08-30 12:41:39 -05:00
  • ba11031b86 Increase timeout for CI v2.2.1 Aaron Piotrowski 2023-05-21 22:33:27 -05:00
  • d8ac23d11d Restore check for worker running after creation Aaron Piotrowski 2023-05-21 22:29:38 -05:00
  • 1988e109ab Fix awaiting worker creation Aaron Piotrowski 2023-05-21 21:46:59 -05:00
  • 666515d9f9 Do not close IPC channel immediately after receiving result Aaron Piotrowski 2023-05-17 23:19:51 -05:00
  • 37850ff591 Fix assigning workers to waiting tasks v2.2.0 Aaron Piotrowski 2023-05-12 17:42:36 -05:00
  • f91c44b6f0 Allow calling Context::join() immediately Aaron Piotrowski 2023-03-26 12:03:33 -05:00
  • 0aa54e18a9 Include context backtrace in message (#168) Aaron Piotrowski 2023-03-26 11:29:54 -05:00
  • f92fd834eb Fix mistake in README (#172) Maciej Kosiarski 2023-03-23 22:39:58 +01:00
  • 3aac213ba7 Solve Cannot declare class SerializationException (#159) v1.4.3 Mike iLL Kilmer 2023-03-23 03:04:23 -05:00
  • 409a8f2a09 Use cancellation on join here too v2.1.0 Aaron Piotrowski 2023-03-02 16:01:04 -06:00
  • a072e63c3f Fix and re-enable windows CI Niklas Keller 2023-03-02 15:57:26 -06:00
  • 815c2500bc Only throw ContextException from receive, send, and join (#166) Aaron Piotrowski 2023-03-01 23:40:36 -06:00
  • 5d975b640b Use cancellation param on join() Aaron Piotrowski 2023-02-25 10:03:38 -06:00
  • 42f44cde94 Fix syntax error in example code (#164) Natorator 2023-02-23 22:53:38 -08:00
  • d66e3df393 Update CI build v2.0.0 Aaron Piotrowski 2023-02-17 13:28:22 -06:00
  • b4554d0bc6 Update readme Aaron Piotrowski 2023-02-17 12:21:06 -06:00
  • 2b717ecdfa Update examples Aaron Piotrowski 2023-02-17 12:18:02 -06:00
  • 4737702aa4 Rename ParallelContext to ThreadContext Aaron Piotrowski 2023-02-16 23:08:26 -06:00
  • efcdd38ecb Refactor ParallelHub Aaron Piotrowski 2023-02-16 22:52:33 -06:00
  • c80597aaa5 Protect global scope Aaron Piotrowski 2023-02-16 18:49:12 -06:00
  • c2f582c1c7 Revert "Try php 8.1-dev" Niklas Keller 2023-02-17 00:19:01 +01:00
  • 6acf2205cf Try php 8.1-dev Niklas Keller 2023-02-17 00:17:48 +01:00
  • 837ce94d8c Fix syntax error in composer-require-check.json Niklas Keller 2023-02-17 00:07:59 +01:00
  • bb83d63f35 Fix composer-require-check.json Niklas Keller 2023-02-17 00:06:44 +01:00
  • 646c960347 Suppress UndefinedClass due to ext-parallel Niklas Keller 2023-02-17 00:05:01 +01:00
  • d1c272d436 Test parallel only on 8.3 nightly Niklas Keller 2023-02-17 00:01:06 +01:00
  • e6bf11c87a Rename internal context function Aaron Piotrowski 2023-02-16 16:55:54 -06:00
  • 77a8f61ace Fix Psalm issues Aaron Piotrowski 2023-02-16 16:54:17 -06:00
  • 17a54f6fe3 Use zts on CI Niklas Keller 2023-02-16 23:56:09 +01:00
  • 78b7754d65 Fail-fast if ext-parallel can't be installed Niklas Keller 2023-02-16 23:53:46 +01:00
  • d68d50c60a Ignore some UndefinedClass errors Niklas Keller 2023-02-16 23:49:30 +01:00
  • 9ef9f8b172 Enable ext-parallel on github actions Niklas Keller 2023-02-16 23:45:42 +01:00
  • a0e7ef4a9b Select ParallelContext if supported Niklas Keller 2023-02-16 23:36:32 +01:00
  • 6a75b4ec48 Fix hanging in ParallelContext Niklas Keller 2023-02-16 23:23:21 +01:00
  • b6e89f7dd6 Add implementation based on ext-parallel Niklas Keller 2023-02-16 23:06:05 +01:00
  • a4edad0d08 Add await() shortcut to Execution Aaron Piotrowski 2023-02-14 21:30:55 -06:00
  • c08f6021f6 Fix code style Niklas Keller 2023-02-14 22:30:44 +01:00
  • 842c65f753 Fix psalm issues Niklas Keller 2023-02-14 22:28:59 +01:00
  • 514ab54a4a Fix example in README Niklas Keller 2023-02-14 22:25:56 +01:00
  • 60f2c1c976 Add example for worker Niklas Keller 2023-02-14 22:21:35 +01:00
  • 754032e912 Remove nullability from IpcHub parameter Aaron Piotrowski 2023-02-14 15:10:53 -06:00
  • d5d7dc517c Remove template types from ContextFactory::start Niklas Keller 2023-02-14 21:50:45 +01:00
  • 421e44b6d3 Fix psalm issues Niklas Keller 2023-02-14 21:47:27 +01:00
  • 28d53b5f42 Add missing internal annotations Niklas Keller 2023-02-14 21:36:39 +01:00
  • c17135c866 Remove getLimit from WorkerPool interface Niklas Keller 2023-02-14 21:35:06 +01:00
  • abf5fe195b Rename DefaultWorker* to ContextWorker* Niklas Keller 2023-02-14 21:31:19 +01:00
  • f8bad14018 Rename DefaultWorker to ContextWorker and make it internal Niklas Keller 2023-02-14 21:29:34 +01:00