jztools.parallelization.threading.general#

Classes

ThreadParallelizer(*args[, thread_name_prefix])

param do_raise:

If True, Raise an exception as soon as it is received internally. Otherwise, will return the exception object.

ThreadPoolExecutor(**kwargs)

Thin wrapper around concurrent.futures.ThreadPoolExecutor.

class jztools.parallelization.threading.general.ThreadPoolExecutor(**kwargs)#

Bases: ThreadPoolExecutor

Thin wrapper around concurrent.futures.ThreadPoolExecutor.

Assignes a default value for thread_name_prefix and returns a MockPoolExecutor if max_workers=0.