当前位置:网站首页>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

边栏推荐
- Develop industrial Internet with the technical advantages of small programs
- 6. zigzag transformation
- Complete knapsack problem
- Grid system in bootstrap
- Access denied for user ‘ODBC‘@‘localhost‘ (using password: NO)
- 431. 将 N 叉树编码为二叉树 DFS
- FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
- 30. 串联所有单词的子串
- 【TA-霜狼_may-《百人计划》】1.2.3 MVP矩阵运算
- 【TA-霜狼_may-《百人計劃》】1.2.1 向量基礎
猜你喜欢

Use of comment keyword in database
![[TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model](/img/05/85c004e4fbfc8d4984ac04ddb1190b.png)
[TA frost wolf \u may- hundred people plan] 2.4 traditional empirical lighting model

Promql select time series
![[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st](/img/9f/187ca83be1b88630a6c6fbfb0620ed.png)
[deep learning] activation function (sigmoid, etc.), forward propagation, back propagation and gradient optimization; optimizer. zero_ grad(), loss. backward(), optimizer. Function and principle of st

Error: plug ins declaring extensions or extension points must set the singleton directive to true

The method to measure the similarity of two vectors: cosine similarity, pytorch calculate cosine similarity: torch nn. CosineSimilarity(dim=1, eps=1e-08)
![[TA frost wolf \u may- hundred people plan] 2.3 introduction to common functions](/img/be/325f78dee744138a865c13d2c20475.png)
[TA frost wolf \u may- hundred people plan] 2.3 introduction to common functions

Feature Pyramid Networks for Object Detection论文理解

Future of NTF and trends in 2022

Use selenium automated test tool to climb the enrollment score line and ranking of colleges and universities related to the college entrance examination
随机推荐
pytorch nn. AdaptiveAvgPool2d(1)
复习专栏之---消息队列
RSN:Learning to Exploit Long-term Relational Dependencies in Knowledge Graphs
盘点华为云GaussDB(for Redis)六大秒级能力
You cannot right-click F12 to view the source code solution on the web page
Use selenium automated test tool to climb the enrollment score line and ranking of colleges and universities related to the college entrance examination
在线公网安备案保姆级教程【伸手党福利】
FCN full Convolution Network Understanding and Code Implementation (from pytorch Official Implementation)
[TA frost wolf \u may- hundred people plan] 2.3 introduction to common functions
TEC: Knowledge Graph Embedding with Triple Context
242. valid Letter heteronyms
Promql select time series
Leetcode:829. Sum of continuous integers
【TA-霜狼_may-《百人計劃》】2.3 常用函數介紹
Jeecgboot output log, how to use @slf4j
Develop industrial Internet with the technical advantages of small programs
【TA-霜狼_may-《百人計劃》】1.2.1 向量基礎
6. Z 字形变换
431. encode n-ary tree as binary tree DFS
torch. histc