Skip to content

Releases: symplely/spawn

added `Thread` class, corrections, additional tests and libuv examples

11 Apr 19:48
Compare
Choose a tag to compare
  • threading feature requires PHP ZTS, and not fully working.
  • thread tests working most part, some works on Windows, segmentation on Linux, they are skipped for now.
  • uv_queue_work is used to the mimic missing uv_thread_* features from libuv extension ext-uv .
  • added additional libuv only examples showing actual execution flow among each other handles.
  • added staging Channels class for threads, but not working the same way as Spawn/Parallel, needs a lot of work, mostly likely not even possible.
  • various other corrections.

4.0.2

20 Dec 03:43
Compare
Choose a tag to compare
Update Parallel.php

Embed `opis/closure` to address/fix PHP 8.1 compatibility without FFI

18 Dec 02:40
Compare
Choose a tag to compare
  • Embedded: opis/closure to directly address all issues in opis/closure#102.
    • Found removal of "implements Serializable" from class causes errors for PHP 7.3 and less, so restored, but changed logic for PHP 7.4+
  • Added: reset() to Globals class, test, update doc-blocks.
  • Moved: libuv UV stubs into own folder, fix/update code coverage to ignore.

General reworking to include `spatie/async` behavior without restrictions, issues.

16 Dec 03:06
Compare
Choose a tag to compare

3.1.1

28 May 20:14
Compare
Choose a tag to compare
  • change Channel property names
  • create standard I/O streams if missing instead of using the constants

3.1.0

28 May 01:08
Compare
Choose a tag to compare
  • added kill() same as stop(), but different state status, for ext-parallel behavior
  • update Channeled methods from self to static for proper usage when begin extended from, return type corrections
  • status should not change on close() or stop()
  • bug fix channel recv loop routine
  • add indicator for Future being killed

3.0.5

06 May 16:22
Compare
Choose a tag to compare
test, refactor to allow passing globals between Futures as `ext-paral…

3.0.4

03 May 17:06
Compare
Choose a tag to compare
updates, have FutureInterface to include `Channel` api, allow channel…

3.0.3: corrections, refactor for better yield usage

03 May 00:30
Compare
Choose a tag to compare
- remove `spawn_setup` channel option to `setChannelTick` method
- refactor to allow channel `send/recv` run yield
- doc-block updates
- additional methods for tracking channels

doc-block corrections, simplify `parallel` closure setup, remove no longer needed function

01 May 16:45
Compare
Choose a tag to compare