文件名称:200751112499982_136Z_Com
介绍说明--下载内容均来自于网络,请自行研究使用
在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
..................\NetCompletionPort.h
..................\readme.htm
..................\readme.txt
cn700_vc9192345252
..................\NetCompletionPort.h
..................\readme.htm
..................\readme.txt
cn700_vc9192345252