Boost application performance using asynchronous I/O-ref
发布时间:2021-01-29 10:10:05 所属栏目:站长百科 来源:网络整理
导读:副标题#e# Linux asynchronous I/O is a relatively recent addition to the Linux kernel. It's a standard feature of the 2.6 kernel,but you can find patches for 2.4. The basic idea behind AIO is to allow a process to initiate a number of I/O
|
The AIO interface API is quite simple,but it provides the necessary functions for data transfer with a couple of different notification models. Table 1 shows the AIO interface functions,which are further explained later in this section.
aiocb?structure for initiating or checking. This structure has a number of elements,but Listing 1 shows only the ones that you'll need to (or can) use.
int aio_fildes; // File Descriptor |
站长推荐

