首页 > 代码库 > ThreadPool for Delphi
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。