Libevent library to achieve timer and server side
2016-08-23
0 0 0
no vote
Other
Earn points
Application background
Libevent is an event based network library, memcached is also the bottom layer using libevent library.Overall, libevent has the following features and advantages:* event driven, high performance;* lightweight, focus on the network; * cross platform, support Windows, Linux, Os  , etc.; Mac;* supports a variety of I/O multiplexing technologies, poll, dev/poll, kqueue, select and epoll, etc.; * support I/O, timer and signal events;Key Technology
By default, it is a single thread (which can be configured into a multi thread, if it is needed), each thread has and only one event_base, which corresponds to a event_base struct structure (as well as an event manager attached to it), which is used to schedule managed to a series of event, which can be managed with the process of the operating system. When an event occurs, the event_base will call a function that is bound at the appropriate time (not necessarily immedc++
libevent
服务器
实现
监听
定时器
Related Source Codes
Local Path Planning Algorithm - DWA Algorithm
0
0
no vote
enDAQ-Shock-Data-Share-SRS-Blog
0
0
no vote
Calling chatGPT in a Windows application
0
0
no vote
Test Hello world
0
0
no vote
RCS calculation by one-way ray tracing
0
0
no vote
No comment