文件名称:Generic_Pool_demo

  • 所属分类:
  • 其它资源
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2008-10-13
  • 文件大小:
  • 170.19kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • zhu***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

Many applications use connection/object pool. A program may require a IMAP connection pool and LDAP connection pool. One could easily implement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So just take the IMAP connection pool and convert that to a pool of threads (Copy, paste, find, replace????). Need to make some changes to the pool implementation? Not a very easy task, since the code has been duplicated in many places. Re-inventing source code is not an intelligent approach in an object oriented environment which encourages re-usability. It seems to make more sense to implement a pool that can contain any arbitrary type rather than duplicating code. How does one do that? The answer is to use type parameterization, more commonly referred to as templates.-connection / object pool. A program may require a IMAP connection po ol and LDAP connection pool. One could easily im plement a IMAP connection pool, then take the existing code and implement a LDAP connection pool. The program grows, and now there is a need for a pool of threads. So ju st take the IMAP connection pool and convert tha t to a pool of threads (Copy, paste, find, replace). Need to make some changes to the pool i mplementation Not a very easy task, since the code has been duplicated in many place s. Re-inventing source code is not an intellige nt approach in an object oriented environment w hich encourages re-usability. It seems to make more sense to implement a pool that can contain a ny arbitrary type rather than duplicating code . How does one do that The answer is to use t
(系统自动生成,下载前可以参看下载内容)

下载文件列表

压缩包 : 77433622generic_pool_demo.zip 列表
Generic_Pool_demo/
Generic_Pool_demo/Docs/
Generic_Pool_demo/Docs/banner.htm
Generic_Pool_demo/Docs/banner.jpg
Generic_Pool_demo/Docs/CodeCommentReportError.htm
Generic_Pool_demo/Docs/commentreport.css
Generic_Pool_demo/Docs/darkcorner.jpg
Generic_Pool_demo/Docs/gradleft.jpg
Generic_Pool_demo/Docs/gradtop.jpg
Generic_Pool_demo/Docs/graycorner.jpg
Generic_Pool_demo/Docs/minus.jpg
Generic_Pool_demo/Docs/plus.jpg
Generic_Pool_demo/Docs/Pool/
Generic_Pool_demo/Docs/Pool/CWP0.HTM
Generic_Pool_demo/Docs/Pool/CWP10.HTM
Generic_Pool_demo/Docs/Pool/CWP11.HTM
Generic_Pool_demo/Docs/Pool/CWP12.HTM
Generic_Pool_demo/Docs/Pool/CWP13.HTM
Generic_Pool_demo/Docs/Pool/CWP14.HTM
Generic_Pool_demo/Docs/Pool/CWP15.HTM
Generic_Pool_demo/Docs/Pool/CWP16.HTM
Generic_Pool_demo/Docs/Pool/CWP17.HTM
Generic_Pool_demo/Docs/Pool/CWP18.HTM
Generic_Pool_demo/Docs/Pool/CWP19.HTM
Generic_Pool_demo/Docs/Pool/CWP2.HTM
Generic_Pool_demo/Docs/Pool/CWP20.HTM
Generic_Pool_demo/Docs/Pool/CWP21.HTM
Generic_Pool_demo/Docs/Pool/CWP22.HTM
Generic_Pool_demo/Docs/Pool/CWP23.HTM
Generic_Pool_demo/Docs/Pool/CWP24.HTM
Generic_Pool_demo/Docs/Pool/CWP25.HTM
Generic_Pool_demo/Docs/Pool/CWP26.HTM
Generic_Pool_demo/Docs/Pool/CWP27.HTM
Generic_Pool_demo/Docs/Pool/CWP28.HTM
Generic_Pool_demo/Docs/Pool/CWP29.HTM
Generic_Pool_demo/Docs/Pool/CWP3.HTM
Generic_Pool_demo/Docs/Pool/CWP30.HTM
Generic_Pool_demo/Docs/Pool/CWP31.HTM
Generic_Pool_demo/Docs/Pool/CWP32.HTM
Generic_Pool_demo/Docs/Pool/CWP33.HTM
Generic_Pool_demo/Docs/Pool/CWP34.HTM
Generic_Pool_demo/Docs/Pool/CWP35.HTM
Generic_Pool_demo/Docs/Pool/CWP36.HTM
Generic_Pool_demo/Docs/Pool/CWP37.HTM
Generic_Pool_demo/Docs/Pool/CWP38.HTM
Generic_Pool_demo/Docs/Pool/CWP39.HTM
Generic_Pool_demo/Docs/Pool/CWP4.HTM
Generic_Pool_demo/Docs/Pool/CWP40.HTM
Generic_Pool_demo/Docs/Pool/CWP41.HTM
Generic_Pool_demo/Docs/Pool/CWP42.HTM
Generic_Pool_demo/Docs/Pool/CWP43.HTM
Generic_Pool_demo/Docs/Pool/CWP44.HTM
Generic_Pool_demo/Docs/Pool/CWP45.HTM
Generic_Pool_demo/Docs/Pool/CWP46.HTM
Generic_Pool_demo/Docs/Pool/CWP47.HTM
Generic_Pool_demo/Docs/Pool/CWP48.HTM
Generic_Pool_demo/Docs/Pool/CWP49.HTM
Generic_Pool_demo/Docs/Pool/CWP5.HTM
Generic_Pool_demo/Docs/Pool/CWP50.HTM
Generic_Pool_demo/Docs/Pool/CWP51.HTM
Generic_Pool_demo/Docs/Pool/CWP52.HTM
Generic_Pool_demo/Docs/Pool/CWP53.HTM
Generic_Pool_demo/Docs/Pool/CWP54.HTM
Generic_Pool_demo/Docs/Pool/CWP55.HTM
Generic_Pool_demo/Docs/Pool/CWP56.HTM
Generic_Pool_demo/Docs/Pool/CWP57.HTM
Generic_Pool_demo/Docs/Pool/CWP58.HTM
Generic_Pool_demo/Docs/Pool/CWP59.HTM
Generic_Pool_demo/Docs/Pool/CWP6.HTM
Generic_Pool_demo/Docs/Pool/CWP60.HTM
Generic_Pool_demo/Docs/Pool/CWP61.HTM
Generic_Pool_demo/Docs/Pool/CWP62.HTM
Generic_Pool_demo/Docs/Pool/CWP63.HTM
Generic_Pool_demo/Docs/Pool/CWP64.HTM
Generic_Pool_demo/Docs/Pool/CWP65.HTM
Generic_Pool_demo/Docs/Pool/CWP66.HTM
Generic_Pool_demo/Docs/Pool/CWP7.HTM
Generic_Pool_demo/Docs/Pool/CWP8.HTM
Generic_Pool_demo/Docs/Pool/CWP9.HTM
Generic_Pool_demo/Docs/Pool/Pool.HTM
Generic_Pool_demo/Docs/Solution_Pool.HTM
Generic_Pool_demo/Docs/titletile.jpg
Generic_Pool_demo/Docs/vt.js
Generic_Pool_demo/GenericObject.h
Generic_Pool_demo/Generic_Pool.htm
Generic_Pool_demo/main.cpp
Generic_Pool_demo/Mutex.h
Generic_Pool_demo/MutexWin.h
Generic_Pool_demo/ObjectHolder.h
Generic_Pool_demo/Pool.exe
Generic_Pool_demo/Pool.sln
Generic_Pool_demo/Pool.vcproj
Generic_Pool_demo/PoolMgr.h
Generic_Pool_demo/Solution1.sln

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org