Skip to content

Releases: brmmm3/fastthreadpool

1.7.0

16 Dec 12:15
Compare
Choose a tag to compare
Add wait_idle method to wait for thread pool getting idle.

1.6.0

16 Dec 12:14
Compare
Choose a tag to compare
Add parameter 'done_max' to class Pool to limit number of results in queue.
Add parameter 'cnt_max' to function as_completed to limit number of results
    to read with one function call.

Fix map-function when direct=False

22 Jul 07:19
Compare
Choose a tag to compare

Bugfix: Add missing parameter in map-function when called with direct=False.

1.5.1

17 Jun 20:01
Compare
Choose a tag to compare

1.5.1:
Add unpack_args argument to map method.
If unpack_args=True then args will be unpacked when callback function is called (default).

1.4.1

24 Sep 12:14
Compare
Choose a tag to compare

Make list of child thread objects visible.
Hopefully finally fix a deadlock issue when job queue is running empty.
Update README.rst
Add optional init_args parameter for init_callback.
Set attribute 'tnum' to child number.
Update README.rst

1.3.5

28 Aug 06:49
Compare
Choose a tag to compare

1.3.5:
Fix MANIFEST.in.

1.3.4 (not released):
Another fix in setup.py. pip doesn't like absolute paths.

1.3.3 (not released):
Fix setup.py.

1.3.2 (not released):
Fix broken sdist package.

1.3.1

25 Aug 20:51
Compare
Choose a tag to compare

Fix as_completed to return if done and failed queues are really empty.
Fix an old bug with the jobs semaphore.
Add property child_cnt.

1.3.0

27 Jul 16:24
3a8f9ba
Compare
Choose a tag to compare

Remove FastLock and fix Semaphore.
Fix shutdown method again and remove wait argument.
Reduce PEP8 findings

1.2.10

31 Mar 06:14
5e41354
Compare
Choose a tag to compare

Fix join method. Call shutdown method with the correct parameters.
In shutdown method send finish command to child threads if soon is True
independent of the wait parameter.
Update echoserver.py example and corresponding benchmarks.

1.2.9

30 Mar 21:51
8a92bd1
Compare
Choose a tag to compare

Add method join.
Fix method shutdown_children to release job_cnt semaphore.
Added echoserver and echclient examples from uvloop and extended them with fastloop support (look at the benchmarks!).