http://sourceforge.net/projects/threadpoolpas/

http://hivelocity.dl.sourceforge.net/project/threadpoolpas/ThreadPool-1.0.6%20%28with%20compiled%20examples%29.zip

http://downloads.sourceforge.net/project/threadpoolpas/ThreadPool-1.0.6.zip

Description

With this class framework for Delphi (>=2010) you can implement any kind of specialized thread pool's.

It introduces 3 base classes

TPoolTask, TPoolWorker and the TPoolManager.

You have to derive each of them for your work... See the Features!

Features

  • Both TPoolWorker and TPoolManager are true threads
  • Each derived manager is accessible through the Singleton pattern
  • Concurrent workers: The manager is able to manage any amount of concurrent workers
  • Spared workers: The manager is able to hold any amount of sleeping workers, which can faster take any task
  • Demand mode (optional): The manager terminates himself automatically, if all tasks are done
  • Tasks are prioritizable

 

相关文章:

  • 2021-12-04
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
  • 2021-12-21
  • 2022-12-23
猜你喜欢
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-11-03
  • 2021-10-25
相关资源
相似解决方案