hbutils.concurrent

Concurrent programming utilities package.

This package exposes convenience imports that aggregate functionality from the hbutils.concurrent.parallel and hbutils.concurrent.readwrite modules. It is designed to provide a unified namespace for concurrency tools, including bounded thread pool execution helpers and read-write lock utilities.

The package re-exports public members from the following modules:

Note

This module only re-exports public symbols from its submodules. Refer to the respective module documentation for full details and usage patterns.

Example:

>>> from hbutils.concurrent import BoundedThreadPoolExecutor
>>> with BoundedThreadPoolExecutor(max_workers=2, max_pending=4) as executor:
...     future = executor.submit(lambda x: x + 1, 1)
...     future.result()
2