Skip to content

Releases: Vizonex/aiothreading

Aiothreading 1.3

05 Feb 17:37
ab2ccf4
Compare
Choose a tag to compare
  • Fixed issues with uploading packages. see 1.3-a for important changes.

Aiothreading 1.3

05 Feb 17:33
839f89d
Compare
Choose a tag to compare

What's Changed

  • 1.3 aiologic update by @Vizonex & @x42005e1f in #2
  • We skipped 1.2 because the changes were bigger than we expected.

New Contributors

  • @Vizonex made their first contribution in #2

  • @x42005e1f made some very important changes that allow threads to now terminate

  • Many things were optimized in thanks to this issue #1

  • Many Functions in the threadpool were changed and Optimized for speed. Values now return in "First Done Order"

  • ThreadPool Now has closer behavior to the ThreadPoolExecutor from the concurrent.futures library

  • Threads can now terminate.

Full Changelog: 1.1-a...1.3-a

TODOS

  • in 0.1.4 unittests will be changed to reflect the recent changes made in 1.3
  • Remove deprecated parameters and fix mypy/pyright (Fixed pyright however)

Aiothreading 1.1

01 Sep 03:02
ae4c4d3
Compare
Choose a tag to compare
  • Optimized the ThreadPoolWorker by freeing up the for loop for any completed futures in replacement for a single callback function called _on_completed
  • Added Some more Todos such as moving with the event loop rather than against it, this would involve taking away some for loops in replacement for callbacks which frees up the event loop more by stopping the eventloop from further blocking, This may have been what aiomultiprocess was lacking all this time.
  • Added some new utilities that implement some important features of the threading module for shared use with the event loop. These are currently experimental as no test-suite for any of these exists yet, may just have to dig up some unittests for the originals if any exists out in the wild. Throw me an issue if you see any hiccups with using these.
  • Reformatted some imports with the isort command for sorting python imports and then reformatted with black
  • Fixed watermarks in some python scripts.

TODOS:

  • On my next pull request to aiomultiprocess suggest changes being made to the PoolWorker as I have done with the ThreadPoolWorker

Full Changelog: https://github.com/Vizonex/aiothreading/commits/1.1-a