文件名称:200751112499982_136Z_Com
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:6.14kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在Winsock i/o 模型中CPIO无疑是性能最好的,当然高性能是耗费系统可观的资源作代价的,在多连接和高数据吞吐率方面要求高的应用中才会用此模型,所以我认为不要盲目地使用此模型。
在具体应用中只要继承此类然后重写其中的几个虚函数即可,要注意的几点是:1,CPIO用到多线称,所以对有些资源必须同步2,在数据收发当中会平凡分配和释放内存资源,这种平凡的资源分配和释放回消耗系统一定的资源,所以可以用一种方法尽量减少这种操作,此类中用到了“内存池“-In the Winsock i/o model CPIO is undoubtedly the best performance, of course, is the cost high-performance system, the cost of considerable resources, in many aspects of connectivity and high data throughput applications that require high will use this model, so I Do not blindly believe that using this model. In specific applications such as long as the inheritance and then override a few virtual functions which can be, points to note are: 1, CPIO use multi-line said, so some resources must be synchronized 2, which would be unusual in the data transceiver allocate and free memory resources, this extraordinary resource allocation and released back consume some resources, so you can minimize this with a ways of minimizing the operation of this class are depleted, " Neicun pool"
在具体应用中只要继承此类然后重写其中的几个虚函数即可,要注意的几点是:1,CPIO用到多线称,所以对有些资源必须同步2,在数据收发当中会平凡分配和释放内存资源,这种平凡的资源分配和释放回消耗系统一定的资源,所以可以用一种方法尽量减少这种操作,此类中用到了“内存池“-In the Winsock i/o model CPIO is undoubtedly the best performance, of course, is the cost high-performance system, the cost of considerable resources, in many aspects of connectivity and high data throughput applications that require high will use this model, so I Do not blindly believe that using this model. In specific applications such as long as the inheritance and then override a few virtual functions which can be, points to note are: 1, CPIO use multi-line said, so some resources must be synchronized 2, which would be unusual in the data transceiver allocate and free memory resources, this extraordinary resource allocation and released back consume some resources, so you can minimize this with a ways of minimizing the operation of this class are depleted, " Neicun pool"
相关搜索: cpio
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cn700_vc9192345252/NetCompletionPort.cpp
cn700_vc9192345252/NetCompletionPort.h
cn700_vc9192345252/Cn700.com.txt
cn700_vc9192345252/readme.htm
cn700_vc9192345252/readme.txt
cn700_vc9192345252/Welcome to www.cn700.com.url
cn700_vc9192345252
cn700_vc9192345252/NetCompletionPort.h
cn700_vc9192345252/Cn700.com.txt
cn700_vc9192345252/readme.htm
cn700_vc9192345252/readme.txt
cn700_vc9192345252/Welcome to www.cn700.com.url
cn700_vc9192345252
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.