ThreadPool for Delphi

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

 

ThreadPool for Delphi

上一篇:Delphi下IOCP开源框架:DIOCP 成功应用案例分享


下一篇:vim的强大,vim设置和插件的使用,脱离windows才是王道