当前位置:网站首页>Libevent Library Learning
Libevent Library Learning
2022-07-01 03:49:00 【StudyWinter】
1、libevent Introduce
Libevent It's a use. C language-written 、 Lightweight open source high performance event notification Library , There are mainly the following highlights : Event driven ( event-driven), High performance ; Lightweight , Focus on the Internet , Not as good as ACE So bloated ; The source code is quite refined 、 Easy to read ; Cross platform , Support Windows、 Linux、 *BSD and Mac Os; Support for multiple I/O Multiplexing technology , epoll、 poll、 dev/poll、 select and kqueue etc. ; Support I/O, Events such as timers and signals ; Register event priority .
Libevent It has been widely used , As the underlying network library ; such as memcached、 Vomit、 Nylon、 Netchat wait .
2、 install
Official website :libevent

What I use here is 2.1.8 edition ,linux It uses ubuntu20.4. Install with original code .
(1) decompression
(2)./configure # Check the installation environment Generate makefile
(3)make # Generate .o and Executable file
(4)sudo make install # The necessary resources cp Set the system specified directory .3、 Check if the installation is successful
Get into sample Under the path

Here are some small demo You can test whether the book is successfully installed

This means that the installation is successful .
4、 Check the installation path

Header file in include Inside

边栏推荐
- 409. longest palindrome
- 整合阿里云短信的问题:无法从静态上下文中引用非静态方法
- Sort linked list (merge sort)
- 8. string conversion integer (ATOI)
- [深度学习]激活函数(Sigmoid等)、前向传播、反向传播和梯度优化;optimizer.zero_grad(), loss.backward(), optimizer.step()的作用及原理
- MFC window scroll bar usage
- [shortcut key]
- 衡量两个向量相似度的方法:余弦相似度、pytorch 求余弦相似度:torch.nn.CosineSimilarity(dim=1, eps=1e-08)
- 快速筛选打卡时间日期等数据:EXCEL筛选查找某一时间点是否在某一时间段内
- Appium fundamentals of automated testing - basic principles of appium
猜你喜欢

The problem of integrating Alibaba cloud SMS: non static methods cannot be referenced from the static context

Binary tree god level traversal: Morris traversal

431. encode n-ary tree as binary tree DFS

详解Spark运行模式(local+standalone+yarn)

Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)

Bilinear upsampling and f.upsample in pytorch_ bilinear

Appium自动化测试基础--补充:C/S架构和B/S架构说明

Millet College wechat scanning code login process record and bug resolution

Addition without addition, subtraction, multiplication and division

Gorilla/mux framework (RK boot): RPC error code design
随机推荐
241. Design priorities for operational expressions
【快捷键】
Are you still wasting brain cells for self-study? This interview note is definitely the ceiling of station C
FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
5. [WebGIS practice] software operation - service release and permission management
[EI conference] 2022 international joint civil and Offshore Engineering Conference (jccme 2022)
[TA frost wolf _may - "hundred people plan"] 1.4 introduction to PC mobile phone graphics API
TEC: Knowledge Graph Embedding with Triple Context
pytorch中的双线性插值上采样(Bilinear Upsampling)、F.upsample_bilinear
You cannot right-click F12 to view the source code solution on the web page
Cygwin的下载和安装配置
10. regular expression matching
Grid system in bootstrap
The combination of applet container technology and IOT
盘点华为云GaussDB(for Redis)六大秒级能力
Use selenium automated test tool to climb the enrollment score line and ranking of colleges and universities related to the college entrance examination
【伸手党福利】JSONObject转String保留空字段
【EI检索】2022年第六届材料工程与先进制造技术国际会议(MEAMT 2022)重要信息会议网址:www.meamt.org会议时间:2022年9月23-25日召开地点:中国南京截稿时间:2
torch. histc
[shortcut key]