-
c++线程池技术深入分析
目前的大多数网络服务器,包括Web服务器、Email服务器以及数据库服务器等都具有一个共同点,就是单位时间内必须处理数目巨大的连接请求,但处理时间却相对较短。线程池采用预创建的技术,在应用程序启动之后,将立即创建一定数量的线程(N1),放入空闲队列中。这些线程都是处于阻塞(Suspended)状态,不消耗CPU,但占用较小的内存空间。当任务到来后,缓冲池选择一个空闲线程,把任务传入此线程中运行。当N1个线程都在处理任务后,缓冲池自动创建一定数量的新线程,用于处理更多的任务。在任务执行完毕后线程也不退出,而是继续保持在池中等待下一次的任务。当系统比较空闲时,大部分线程都一直处于暂停状态,线程池自动销毁一部分线程,回收系统资源。从而显著提高了服务器的效率。
- 2022-07-23 20:13:06下载
- 积分:1
-
WARP COM 口通讯 C 语言源程序库
WARP COM 口通讯 C 语言源程序库-WARP COM port communication for C language source
- 2023-08-04 21:05:03下载
- 积分:1
-
php script to retreive all info about the orders from the database
php script to retreive all info about the orders from the database
- 2022-04-25 08:33:30下载
- 积分:1
-
人民邮电出版社2008
人民邮电出版社2008-05-01 出版的《JSP网络开发实用工程案例》一书中的论坛管理系统的源代码。-Posts & Telecom Press 2008-05-01 published " JSP network engineering development of practical cases," a forum for the book" s source code management system.
- 2022-02-22 13:24:45下载
- 积分:1
-
nhibernate programming, powerful and useful
nhibernate编程,功能强大且实用-nhibernate programming, powerful and useful
- 2022-03-29 16:49:30下载
- 积分:1
-
MAPI的编程
MAPI的编程 -MAPI programming MAPI programming
- 2022-07-27 18:26:16下载
- 积分:1
-
包中包含的iputils平,基本的网络工具。平安指挥的参议员。
The iputils package contains ping, a basic networking tool. The ping command sends a series of ICMP protocol ECHO_REQUEST packets to as pecified network host and can tell you if that machine is alive and receiving network traffic.ipv6calc is a small utility which formats and calculates IPv6 addresses in different ways. It extends the existing address detection on IPv6 initscript setup or make life easier in adding reverse IPv6 zones to DNSor using in DNS queries like nslookup -q=ANY ipv6calc -r 3ffe:400:100:f101::1/48`-The iputils package contains ping, a basic networking tool. The ping command sends a series of ICMP protocol ECHO_REQUEST packets to as pecified network host and can tell you if that machine is alive and receiving network traffic.ipv6calc is a small utility which formats and calculates IPv6 addresses in different ways. It extends the existing address detection on IPv6 initscript setup or make life easier in adding reverse IPv6 zones to DNSor using in DNS queries like nsl
- 2022-03-03 14:03:46下载
- 积分:1
-
Library of C functions that allows a program to use WinSock 2 functionality if i...
Library of C functions that allows a program to use WinSock 2 functionality if it is available or fall back to WinSock 1.1 if it isn t.
- 2023-07-12 06:30:03下载
- 积分:1
-
关于C++的网络编程介绍,重点介绍了在特殊领域的C++的编程
关于C++的网络编程介绍,重点介绍了在特殊领域的C++的编程-About C++ Introduction of network programming, focusing on specific areas in the introduction of the C++ programming
- 2022-04-17 08:13:31下载
- 积分:1
-
management system for bus
公交管理系统查询-management system for bus
- 2022-01-26 06:43:36下载
- 积分:1