文件名称:x-net
-
所属分类:
- 标签属性:
- 上传时间:2012-11-10
-
文件大小:380.48kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
IOCP(I/O Completion Port,I/O完成端口)是性能最好的一种I/O模型。它是应用程序使用线程池处理异步I/O请求的一种机制。在处理多个并发的异步I/O请求时,以往的模型都是在接收请求是创建一个线程来应答请求。这样就有很多的线程并行地运行在系统中。而这些线程都是可运行的,Windows内核花费大量的时间在进行线程的上下文切换,并没有多少时间花在线程运行上。再加上创建新线程的开销比较大,所以造成了效率的低下。
-IOCP (I/O Completion Port, I/O completion ports) is the best kind of performance I/O model. It is the application uses the thread pool handle asynchronous I/O requests of a mechanism. In dealing with multiple concurrent asynchronous I/O request, the previous models are receiving requests to create a thread to answer the request. So there is a lot of threads running in parallel on the system. These threads are runnable, Windows takes a lot of time during kernel thread context switches, and not much time is spent on running the thread. Plus the cost of creating a new thread is relatively large, so resulting in low efficiency.
-IOCP (I/O Completion Port, I/O completion ports) is the best kind of performance I/O model. It is the application uses the thread pool handle asynchronous I/O requests of a mechanism. In dealing with multiple concurrent asynchronous I/O request, the previous models are receiving requests to create a thread to answer the request. So there is a lot of threads running in parallel on the system. These threads are runnable, Windows takes a lot of time during kernel thread context switches, and not much time is spent on running the thread. Plus the cost of creating a new thread is relatively large, so resulting in low efficiency.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
source/iocp.cpp
source/queue.cpp
source/xasyncsocket.cpp
source/xbase.cpp
source/xclientitem.cpp
source/xlistenthread.cpp
source/xlog.cpp
source/xmessage.cpp
source/xserver.cpp
source/xserverbase.cpp
source/xsocket.cpp
source/xtcpheader.cpp
source/xthread.cpp
source/xworkthread.cpp
test/main.cpp
test/stdafx.cpp
test/stdafx.h
test/targetver.h
test/TcpServer.cpp
test/TcpServer.h
test/test.vcxproj
test/test_2005.vcproj
xnet/stdafx.cpp
xnet/stdafx.h
xnet/targetver.h
xnet/xnet.sln
xnet/xnet.vcxproj
xnet/xnet_2005.sln
xnet/xnet_2005.vcproj
readme.txt
bin/debug/log4cplusD.dll
bin/debug/xnet.properties
bin/release/log4cplus.dll
bin/release/xnet.properties
docs/readme.txt
include/iocp.h
include/log4cplus/appender.h
include/log4cplus/config/defines.hxx.in
include/log4cplus/config/macosx.h
include/log4cplus/config/win32.h
include/log4cplus/config.h.in
include/log4cplus/config.hxx
include/log4cplus/configurator.h
include/log4cplus/consoleappender.h
include/log4cplus/fileappender.h
include/log4cplus/fstreams.h
include/log4cplus/helpers/appenderattachableimpl.h
include/log4cplus/helpers/loglog.h
include/log4cplus/helpers/logloguser.h
include/log4cplus/helpers/pointer.h
include/log4cplus/helpers/property.h
include/log4cplus/helpers/sleep.h
include/log4cplus/helpers/socket.h
include/log4cplus/helpers/socketbuffer.h
include/log4cplus/helpers/stringhelper.h
include/log4cplus/helpers/syncprims-pthreads.h
include/log4cplus/helpers/syncprims-win32.h
include/log4cplus/helpers/syncprims.h
include/log4cplus/helpers/thread-config.h
include/log4cplus/helpers/threads.h
include/log4cplus/helpers/timehelper.h
include/log4cplus/hierarchy.h
include/log4cplus/hierarchylocker.h
include/log4cplus/layout.h
include/log4cplus/logger.h
include/log4cplus/loggingmacros.h
include/log4cplus/loglevel.h
include/log4cplus/ndc.h
include/log4cplus/nteventlogappender.h
include/log4cplus/nullappender.h
include/log4cplus/socketappender.h
include/log4cplus/spi/appenderattachable.h
include/log4cplus/spi/factory.h
include/log4cplus/spi/filter.h
include/log4cplus/spi/loggerfactory.h
include/log4cplus/spi/loggerimpl.h
include/log4cplus/spi/loggingevent.h
include/log4cplus/spi/objectregistry.h
include/log4cplus/spi/rootlogger.h
include/log4cplus/streams.h
include/log4cplus/syslogappender.h
include/log4cplus/tstring.h
include/log4cplus/version.h
include/log4cplus/win32consoleappender.h
include/log4cplus/win32debugappender.h
include/queue.h
include/xasyncsocket.h
include/xbase.h
include/xclientitem.h
include/xlistenthread.h
include/xlog.h
include/xmessage.h
include/xserver.h
include/xserverbase.h
include/xsockaddr.h
include/xsocket.h
include/xtcpheader.h
include/xthread.h
include/xworkthread.h
lib/log4cplus.lib
lib/log4cplusD.lib
include/log4cplus/config
include/log4cplus/helpers
include/log4cplus/spi
bin/debug
bin/release
include/log4cplus
source
test
xnet
bin
build
docs
include
lib
source/queue.cpp
source/xasyncsocket.cpp
source/xbase.cpp
source/xclientitem.cpp
source/xlistenthread.cpp
source/xlog.cpp
source/xmessage.cpp
source/xserver.cpp
source/xserverbase.cpp
source/xsocket.cpp
source/xtcpheader.cpp
source/xthread.cpp
source/xworkthread.cpp
test/main.cpp
test/stdafx.cpp
test/stdafx.h
test/targetver.h
test/TcpServer.cpp
test/TcpServer.h
test/test.vcxproj
test/test_2005.vcproj
xnet/stdafx.cpp
xnet/stdafx.h
xnet/targetver.h
xnet/xnet.sln
xnet/xnet.vcxproj
xnet/xnet_2005.sln
xnet/xnet_2005.vcproj
readme.txt
bin/debug/log4cplusD.dll
bin/debug/xnet.properties
bin/release/log4cplus.dll
bin/release/xnet.properties
docs/readme.txt
include/iocp.h
include/log4cplus/appender.h
include/log4cplus/config/defines.hxx.in
include/log4cplus/config/macosx.h
include/log4cplus/config/win32.h
include/log4cplus/config.h.in
include/log4cplus/config.hxx
include/log4cplus/configurator.h
include/log4cplus/consoleappender.h
include/log4cplus/fileappender.h
include/log4cplus/fstreams.h
include/log4cplus/helpers/appenderattachableimpl.h
include/log4cplus/helpers/loglog.h
include/log4cplus/helpers/logloguser.h
include/log4cplus/helpers/pointer.h
include/log4cplus/helpers/property.h
include/log4cplus/helpers/sleep.h
include/log4cplus/helpers/socket.h
include/log4cplus/helpers/socketbuffer.h
include/log4cplus/helpers/stringhelper.h
include/log4cplus/helpers/syncprims-pthreads.h
include/log4cplus/helpers/syncprims-win32.h
include/log4cplus/helpers/syncprims.h
include/log4cplus/helpers/thread-config.h
include/log4cplus/helpers/threads.h
include/log4cplus/helpers/timehelper.h
include/log4cplus/hierarchy.h
include/log4cplus/hierarchylocker.h
include/log4cplus/layout.h
include/log4cplus/logger.h
include/log4cplus/loggingmacros.h
include/log4cplus/loglevel.h
include/log4cplus/ndc.h
include/log4cplus/nteventlogappender.h
include/log4cplus/nullappender.h
include/log4cplus/socketappender.h
include/log4cplus/spi/appenderattachable.h
include/log4cplus/spi/factory.h
include/log4cplus/spi/filter.h
include/log4cplus/spi/loggerfactory.h
include/log4cplus/spi/loggerimpl.h
include/log4cplus/spi/loggingevent.h
include/log4cplus/spi/objectregistry.h
include/log4cplus/spi/rootlogger.h
include/log4cplus/streams.h
include/log4cplus/syslogappender.h
include/log4cplus/tstring.h
include/log4cplus/version.h
include/log4cplus/win32consoleappender.h
include/log4cplus/win32debugappender.h
include/queue.h
include/xasyncsocket.h
include/xbase.h
include/xclientitem.h
include/xlistenthread.h
include/xlog.h
include/xmessage.h
include/xserver.h
include/xserverbase.h
include/xsockaddr.h
include/xsocket.h
include/xtcpheader.h
include/xthread.h
include/xworkthread.h
lib/log4cplus.lib
lib/log4cplusD.lib
include/log4cplus/config
include/log4cplus/helpers
include/log4cplus/spi
bin/debug
bin/release
include/log4cplus
source
test
xnet
bin
build
docs
include
lib
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.