Skip to content

Releases: symplely/spawn

5.0.1

07 Mar 16:42
Compare
Choose a tag to compare
Merge branch 'master' into 5x

4.1.8

07 Mar 10:59
Compare
Choose a tag to compare
revert `Thread` class to `v4.1.4` tag commit

4.1.7

07 Mar 01:49
Compare
Choose a tag to compare
update Thread.php

4.1.6

07 Mar 00:28
Compare
Choose a tag to compare
build(deps): update composer.json

Removed `Thread` class to separate repo for development

06 Mar 16:47
Compare
Choose a tag to compare

Threading feature is by way of Libuv uv_queue_work, which the PHP ext-uv extension is buggy, but works is at https://github.com/symplely/thread_queue

remove ext-uv tests, split up thread tests, multi runs, but `zend_mm_heap corrupted` afterwards

06 Mar 16:31
Compare
Choose a tag to compare

4.1.4

24 Apr 19:17
Compare
Choose a tag to compare
Update Thread.php

4.1.3: updates, added ability to cancel a thread

20 Apr 20:03
Compare
Choose a tag to compare
- this really just stops `then` callbacks, once thread starts no way to actually cancel thread execution.

4.1.2

17 Apr 03:15
Compare
Choose a tag to compare
Update Thread.php

removed `Channels` class, bug fixes/corrections for `Thread` tests

17 Apr 01:38
Compare
Choose a tag to compare
  • uv_queue_work is very buggy, after thread is finished it's work, the callback feature has issues.
    • On Linux causes segmentation faults.
    • On Windows not even called at all.
      • As so, uv_async_send is used instead.
    • The way memory is currently handled by libuv and uv_queue_work passing Channels objects is easily corrupted.
    • Multiple uv_queue_work threads calls need special care, causes segmentation faults.