Releases: Vizonex/aiothreading
Releases · Vizonex/aiothreading
Aiothreading 1.3
Aiothreading 1.3
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
-
@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 theThreadPoolExecutor
from theconcurrent.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
- 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 thePoolWorker
as I have done with theThreadPoolWorker
Full Changelog: https://github.com/Vizonex/aiothreading/commits/1.1-a