It seems that it hasn't been updated for almost a year, and I don't know what to write

aotxland

June 26, 2022

Recently, I have been working for one month continuously, so the ambitious update plan made last time has been broken again

Another thing is to rent a master bedroom and move out of the company dormitory

Compile jcef for Kirin system

Get System

You can obtain the latest version of 22.04, 20.04 and V10 installation packages from the official website of Youqilin. I use an old version here.
https://www.ubuntukylin.com/downloads/
 Kirin official website

The installation process is omitted here. Basically, follow the prompts.

Read on

Linux IO multiplexing analysis (Select, Poll and Epoll)

Some time ago, I was forced to replace the Select mechanism in a bunch of code that no one maintained with Epoll. I take this opportunity to sort out the principles of Select, Poll and Epoll.

I/O multiplexing:

I/O multiplexing can monitor multiple descriptors through a mechanism. Once a descriptor is ready (generally read ready or write ready), it can notify the program to perform corresponding read and write operations. However, select, poll, and epoll are all synchronous I/Os in essence, because they are all responsible for reading and writing after the read-write event is ready, that is, the process of reading and writing is blocked, while asynchronous I/O is not responsible for reading and writing. The implementation of asynchronous I/O is responsible for copying data from the kernel to the user space.

Read on