loongson/pypi/: threadpool-1.3.2 metadata and description

Homepage Simple index

Easy to use object-oriented thread pool framework.

author Christopher Arndt
author_email chris@chrisarndt.de
classifiers
  • Development Status :: 5 - Production/Stable
  • Intended Audience :: Developers
  • License :: OSI Approved :: Python Software Foundation License
  • Operating System :: Microsoft :: Windows
  • Operating System :: POSIX
  • Operating System :: MacOS :: MacOS X
  • Programming Language :: Python
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 3
  • Topic :: Software Development :: Libraries :: Python Modules
download_url http://chrisarndt.de/projects/threadpool/download/
keywords threads,design pattern,thread pool
license MIT license
platform
  • POSIX
  • Windows
  • MacOS X

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
threadpool-1.3.2-py3-none-any.whl
Size
7 KB
Type
Python Wheel
Python
3

Warning

This module is OBSOLETE and is only provided on PyPI to support old projects that still use it. Please DO NOT USE IT FOR NEW PROJECTS! Use modern alternatives like the multiprocessing module in the standard library or even an asynchroneous approach with asyncio.A thread pool is an object that maintains a pool of worker threads to performtime consuming operations in parallel. It assigns jobs to the threadsby putting them in a work request queue, where they are picked up by thenext available thread. This then performs the requested operation in thebackground and puts the results in another queue.The thread pool object can then collect the results from all threads fromthis queue as soon as they become available or after all threads havefinished their work. It’s also possible, to define callbacks to handleeach result as it comes in… note:: This module is regarded as an extended example, not as a finished product. Feel free to adapt it too your needs.