获取libevent库。
This is the core of the libevent system.
这是libevent系统的核心。
Download libevent: An asynchronous event-notification library.
下载libevent:一个异步事件通知库。
Control of the execution process is now handled by the libevent system.
执行过程的控制现在由libevent系统处理。
The accept_callback function would be the same as the accept function in the core libevent example in Listing 1.
accept _ callback函数与清单1所示核心libevent示例中的accept函数相同。
The libevent timer USES the timeval structure, which allows timers to be specified in both seconds and microseconds.
libevent计时器使用timeval结构,允许按秒和毫秒指定计时器。
The library implementations in these languages tend to support the core of the libevent system and not always the HTTP wrapper.
用这些语言编写的libevent实现通常支持 libevent系统的核心,但是不一定支持HTTP包装器。
To do this, you can download the source, run the configure script, and make the server; you need the libevent library for this.
为此,您可以下载源代码、运行配置脚本并运行服务器;需要用到libevent库。
The only prerequisite to installing memcached is libevent, the asynchronous event-notification library that memcached depends upon.
libevent 是安装memcached的唯一前提条件。 它是 memcached 所依赖的异步事件通知库。
Memcached is an RAM cache for storing and handling data (which USES libevent at it's core, as well as being used with other libevent servers).
Memcached是用于存储和处理数据的RAM缓存(其核心使用libevent,也可以使用其他libevent服务器)。
To actually handle each request, the libevent library provides an event mechanism that ACTS as a wrapper around the underlying network backend.
为了实际处理每个请求,libevent库提供一种事件机制,它作为底层网络后端的包装器。
If you don't get this response, go back through the previous steps and make sure the source for both libevent and memcached was successfully built.
如果未获得此响应,则应该返回之前的步骤并确保libevent和memcached的源文件都已成功生成。
Behind the scenes, libevent is handling the network sockets, identifying which clients need to be serviced, and calling the corresponding functions in each case.
在幕后,libevent处理网络套接字,识别需要服务的客户端,分别调用对应的函数。
There are two routes: either embed the language into your C-based libevent application or use one of the many HTTP implementations built on top of the scripted language environment.
有两种方法:要么把脚本语言嵌入到基于C的libevent应用程序中,要么使用基于脚本语言环境构建的众多HTTP实现之一。
Keep in mind that the libevent server is running in a single thread, and a single client is unlikely to stress the server, since it will also be limited by the method of opening requests.
请记住,这个libevent服务器在单一线程中运行,而且单一客户端不太可能给服务器造成压力,因为它还受到打开请求的方法的限制。
Keep in mind that the libevent server is running in a single thread, and a single client is unlikely to stress the server, since it will also be limited by the method of opening requests.
请记住,这个libevent服务器在单一线程中运行,而且单一客户端不太可能给服务器造成压力,因为它还受到打开请求的方法的限制。
应用推荐