Skip to content

Aiothreading 1.1

Latest
Compare
Choose a tag to compare
@Vizonex Vizonex released this 01 Sep 03:02
· 4 commits to main since this release
ae4c4d3
  • 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