文件名称:Generic_Pool_demo

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

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
相关搜索: ldap

(系统自动生成,下载前可以参看下载内容)

下载文件列表

Generic_Pool_demo

.................\Docs

.................\....\banner.htm



.................\....\CodeCommentReportError.htm

.................\....\commentreport.css



.................\....\gradleft.jpg

.................\....\gradtop.jpg



.................\....\minus.jpg

.................\....\plus.jpg

.................\....\Pool

.................\....\....\CWP0.HTM

.................\....\....\CWP10.HTM

.................\....\....\CWP11.HTM

.................\....\....\CWP12.HTM

.................\....\....\CWP13.HTM

.................\....\....\CWP14.HTM

.................\....\....\CWP15.HTM

.................\....\....\CWP16.HTM

.................\....\....\CWP17.HTM

.................\....\....\CWP18.HTM

.................\....\....\CWP19.HTM

.................\....\....\CWP2.HTM

.................\....\....\CWP20.HTM

.................\....\....\CWP21.HTM

.................\....\....\CWP22.HTM

.................\....\....\CWP23.HTM

.................\....\....\CWP24.HTM

.................\....\....\CWP25.HTM

.................\....\....\CWP26.HTM

.................\....\....\CWP27.HTM

.................\....\....\CWP28.HTM

.................\....\....\CWP29.HTM

.................\....\....\CWP3.HTM

.................\....\....\CWP30.HTM

.................\....\....\CWP31.HTM

.................\....\....\CWP32.HTM

.................\....\....\CWP33.HTM

.................\....\....\CWP34.HTM

.................\....\....\CWP35.HTM

.................\....\....\CWP36.HTM

.................\....\....\CWP37.HTM

.................\....\....\CWP38.HTM

.................\....\....\CWP39.HTM

.................\....\....\CWP4.HTM

.................\....\....\CWP40.HTM

.................\....\....\CWP41.HTM

.................\....\....\CWP42.HTM

.................\....\....\CWP43.HTM

.................\....\....\CWP44.HTM

.................\....\....\CWP45.HTM

.................\....\....\CWP46.HTM

.................\....\....\CWP47.HTM

.................\....\....\CWP48.HTM

.................\....\....\CWP49.HTM

.................\....\....\CWP5.HTM

.................\....\....\CWP50.HTM

.................\....\....\CWP51.HTM

.................\....\....\CWP52.HTM

.................\....\....\CWP53.HTM

.................\....\....\CWP54.HTM

.................\....\....\CWP55.HTM

.................\....\....\CWP56.HTM

.................\....\....\CWP57.HTM

.................\....\....\CWP58.HTM

.................\....\....\CWP59.HTM

.................\....\....\CWP6.HTM

.................\....\....\CWP60.HTM

.................\....\....\CWP61.HTM

.................\....\....\CWP62.HTM

.................\....\....\CWP63.HTM

.................\....\....\CWP64.HTM

.................\....\....\CWP65.HTM

.................\....\....\CWP66.HTM

.................\....\....\CWP7.HTM

.................\....\....\CWP8.HTM

.................\....\....\CWP9.HTM

.................\....\....\Pool.HTM

.................\....\Solution_Pool.HTM

.................\....\titletile.jpg

.................\....\vt.js

.................\GenericObject.h

.................\Generic_Pool.htm

.................\main.cpp

.................\Mutex.h

.................\MutexWin.h

.................\ObjectHolder.h

.................\Pool.exe

.................\Pool.sln

.................\Pool.vcproj

.................\PoolMgr.h

.................\Solution1.sln

相关说明

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

相关评论

暂无评论内容.

发表评论

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

源码中国 www.ymcn.org