Releases: symplely/spawn
Releases · symplely/spawn
5.0.1
4.1.8
revert `Thread` class to `v4.1.4` tag commit
4.1.7
update Thread.php
4.1.6
build(deps): update composer.json
Removed `Thread` class to separate repo for development
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
4.1.5 ci: update spawn_macos.yml
4.1.4
Update Thread.php
4.1.3: updates, added ability to cancel a thread
- this really just stops `then` callbacks, once thread starts no way to actually cancel thread execution.
4.1.2
Update Thread.php
removed `Channels` class, bug fixes/corrections for `Thread` tests
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.
- As so,
- The way memory is currently handled by
libuv
anduv_queue_work
passing Channels objects is easily corrupted. - Multiple
uv_queue_work
threads calls need special care, causes segmentation faults.