-
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
-
minigui的开发程序,非常典型的程序,在sc2410上跑通了,很漂亮哦了...
minigui的开发程序,非常典型的程序,在sc2410上跑通了,很漂亮哦了-minigui development of procedures, very typical procedure, in the run sc2410 had, oh, a very beautiful
- 2023-07-05 20:30:03下载
- 积分:1
-
//初始化
if(initscr() == NULL) {
perror("initcurs")
exit(EXIT_FAILUR...
//初始化
if(initscr() == NULL) {
perror("initcurs")
exit(EXIT_FAILURE)
}
cbreak()
noecho()
keypad(stdscr, TRUE)
//建立菜单项
for(i=0 i
- 2022-04-02 11:01:45下载
- 积分:1
-
摩托罗拉ezx平台模拟器在FBA,后臂
motorola ezx 平台下的fba模拟器,经过arm汇编优化和驱动优化-motorola ezx platform simulator under the FBA, after arm-driven compilation optimization and optimization
- 2022-04-17 17:47:23下载
- 积分:1
-
金融加密机sjl06型集成的API,可以产生50毫…
金融加密机SJL06型集成API,得到生产每天5000万笔交易验证,请放心使用。-Financial encryption machine SJL06 type integrated API, to be producing 50 million transactions per day verification, please rest assured to use.
- 2022-04-28 16:11:09下载
- 积分:1
-
moto手机大多是基于linux系统,这是著名的showQ系列源代码,共有8种常用界面,对话框,输入框,ZN5 E8 适用!要先有SDK哦...
moto手机大多是基于linux系统,这是著名的showQ系列源代码,共有8种常用界面,对话框,输入框,ZN5 E8 适用!要先有SDK哦-moto phones are mostly based on linux system, which is the famous showQ series of source code, a total of eight kinds of commonly used interfaces, dialog box, input box, ZN5 E8 apply! Oh, must first have a SDK
- 2022-02-25 11:32:54下载
- 积分:1
-
GNU make说明文档,详细罗列了make各个参数的功能与用法
GNU make说明文档,详细罗列了make各个参数的功能与用法-GNU make programming guid
- 2022-12-21 10:40:03下载
- 积分:1
-
ADSP
在ADSP-BF533是移植uclinux,不是linux上的mp3的decode的程序,敬请高手指点。-the ADSP-BF533 Basis transplantation is not linux on the MP3 decode the procedure, please master guiding.
- 2022-06-17 12:12:05下载
- 积分:1
-
reverse your input string
reverse your input string
- 2022-03-23 15:06:49下载
- 积分:1
-
一种crc的写法已经测试
一种crc的写法已经测试-a crc has written tests
- 2022-02-22 11:52:50下载
- 积分:1