码迷,mamicode.com
首页 > Windows程序 > 详细

ThreadPool for Delphi

时间:2014-10-11 18:19:45      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   io   ar   for   sp   div   on   

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

标签:des   style   http   io   ar   for   sp   div   on   

原文地址:http://www.cnblogs.com/shangdawei/p/4019166.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!