-
spserver 是一个实现了半同步/半异步(Half
spserver 是一个实现了半同步/半异步(Half-Sync/Half-Async)和领导者/追随者(Leader/Follower) 模式的服务器框架,能够简化 TCP server 的开发工作。
spserver 使用 c++ 实现,目前实现了以下功能:
1.封装了 TCP server 中接受连接的功能;
2.使用非阻塞型I/O和事件驱动模型,由主线程负责处理所有 TCP 连接上的数据读取和发送,因此连接数不受线程数的限制;
3.主线程读取到的数据放入队列,由一个线程池处理实际的业务。
4.一个 http 服务器框架,即嵌入式 web 服务器(请参考: SPWebServer:一个基于 SPServer 的 web 服务器框架)
-spserver is a realization of a semi-synchronous/semi-asynchronous (Half-Sync/Half-Async) and leader/followers (Leader/Follower) model server framework, to simplify the development of TCP server. spserver use c++ realize now realize the following functions: 1. Packaging the TCP server to accept connections function 2. the use of non-blocking type I/O and event-driven model, by the main thread responsible for handling all TCP connection read and send data, so connections are not thread a few restrictions 3. the main thread to read data Add queue, by a thread pool handle the actual business. 4. A http server framework, that is, embedded web server (p
- 2023-03-18 00:40:03下载
- 积分:1
-
linux0.11版(301k)
linux0.11 version(301k)
- 2022-01-22 17:29:51下载
- 积分:1
-
linux under the multi
linux下的多进程编程,讲述了关于多进程的编程内容,和相关的内容。-linux under the multi-process programming, described the process of programming on more than content, and related content.
- 2022-03-02 00:53:17下载
- 积分:1
-
对象流化成标记语言的编程库,支持各种语言.生成对象适合人类阅读....
对象流化成标记语言的编程库,支持各种语言.生成对象适合人类阅读.-Object flow into the markup language programming library to support various languages. Generates an object suitable for human reading.
- 2022-03-18 20:28:25下载
- 积分:1
-
非常好用的tcp/udp封装
非常好用的tcp/udp封装-very user-friendly tcp/udp Packaging
- 2022-06-20 04:29:44下载
- 积分:1
-
Rest of the eye from time to time by QTimer class software implementation
定时休息的护眼软件 通过QTimer类实现-Rest of the eye from time to time by QTimer class software implementation
- 2022-02-12 21:54:56下载
- 积分:1
-
Linux 是一个源码开放的操作系统,无论是普通用户还是企业用户都可以编写自己的内核代码,再加上对标准内核的裁剪从而制作出适合自己的操作系统。目前有很多中低端用...
Linux 是一个源码开放的操作系统,无论是普通用户还是企业用户都可以编写自己的内核代码,再加上对标准内核的裁剪从而制作出适合自己的操作系统。目前有很多中低端用户使用的网络设备的操作系统是从标准 Linux 改进而来的,这也说明了有越来越多的人正在加入到 Linux 内核开发团体中。
一个或多个内核模块的实现并不能满足一般 Linux 系统软件的需要,因为内核的局限性太大,如不能在终端上打印,不能做大延时的处理等等。当我们需要做这些的时候,就需要将在内核态采集到的数据传送到用户态的一个或多个进程中进行处理。这样,内核态与用户空间进程通信的方法就显得尤为重要。在 Linux 的内核发行版本中没有对该类通信方法的详细介绍,也没有其他文章对此进行总结,所以本文将列举几种内核态与用户态进程通信的方法并详细分析它们的实现和适用环境。
source code 2
-Linux is an open-source operating system, both ordinary users or enterprises, users can prepare their core code, coupled with the standard kernel cutting thereby making up their own operating system. There are a lot of low-end users of the network equipment from the standard operating system Linux is improving from the This also shows that the more and more people are added to the Linux kernel development groups. One or more modules and the realization of general Linux can not satisfy the needs of system software, because the core is too restrictive, such as the terminal can print, can not handle the b
- 2022-01-26 00:11:59下载
- 积分:1
-
Shell programming examples, compression bag has a variety of shell programming e...
Shell编程实例,压缩包里有各种shell编程的例子-Shell programming examples, compression bag has a variety of shell programming examples
- 2022-03-06 18:29:18下载
- 积分:1
-
socket函数,学习socket编程的好
socket函数,学习socket编程的好-socket function, learning socket programming hyperactive move
- 2022-02-11 11:19:52下载
- 积分:1
-
MPlayer
MPlayer-mingw32-1.0rc2.zip
经典播放器源码,支持几乎所有的格式
支持*.264-MPlayer-mingw32-1.0rc2.zip classic player source code, support for almost all the format support*. 264
- 2022-03-21 12:05:25下载
- 积分:1