Linux kernel ———— queues
Linux kernel--queues
Defined:
struct __kfifo{
unsigned int in; The team is offset, write index
unsigned int out; Out team offset, read index
unsigned int mask;
unsigned int esize;
void *data;
}
Use:
Creates a
one, Dead lock
Four conditions that produce a deadlock(1) Mutually exclusive condition: A resource can only be used by one process at a time.(2) Request and retention conditions: a process that is blocked by requesting resources, retains the
1, download the package address (i downloaded is opencc-1.0.4.tar.gz):
Https://bintray.com/package/files/byvoid/opencc/OpenCC
2, into the tar.gz directory, the command line decompression:
TAR-XZVF opencc-1.0.4.tar.gz
3, compile (need tools CMake,
Since the Sunpinyin input method of Ubuntu is not easy to use, often appear all kinds of inexplicable letters and words. So want to change the input method to play, the result of the tragedy ~ in the landing interface infinite cycle, toss a night
Go to the official website download the http://www.lua.org/download.html source file version 5.2.1
To the local directory TAR-ZXVF lua-5.2.1-tar.gz; CD lua-5.2.1; Make Linux (compile in Linux environment); make install
An error may be encountered
You wrote a command-line program called NB, and you want the tab to automatically list the prompts you want after bash enters NB spaces.
Or you want to be able to list all the names of the machines you have permission to connect to by the Space
The concept of DTS, here is not much to say,
My example here is OpenWrt DTS; the CPU is 7620;
Here's Power_led's Gpio 44
First look at the right picture:
There's a structural body called Gpio2,
Gpio-base:gpio number of heads, base site
The
The FQDN is the abbreviation for fully qualified domain name, meaning the full domain name. For example, a machine host name (hostname) is www, and domain suffix (field) is example.com, the FQDN of the host should be www.example.com. In addition,
1. Install Erlang First, install tutorial please see one.
2. To https://github.com/rabbitmq/rabbitmq-server/releases download the latest version, I downloaded is wget https://github.com/rabbitmq/
When you are working on Linux commands, the following words appear frequently
1
You have mail in/var/spool/mail/root
This is a hint to have the latest mail, you can use mail command to read
1 2 3 4 5 6 7
The following learning notes are collated from "Docker Development Practice" http://www.ituring.com.cn/book/1631
Ubuntu Install Docker Fedora Install Docker Redhat install Docker verify Docker is installed successfully
Ubuntu installation
Original address: http://www.linuxidc.com/Linux/2014-05/101572.htm
Press the TAB key when the menu appears to enter the command input mode. Enter a space at the end of the command line that appears, and then enter Acpi=off, which can be installed
The main thing I think is the theory and the actual combination of methods to do, first of all, the theory of this piece in the operating system of the contents of the first statement. Then use the code under Linux to truly implement. Perterson
CRC is the cyclic redundancy check code: It is the most commonly used in the field of data communication error check code, which is characterized by the information field and check the length of the field can be arbitrarily selected.CRC Verification
chmodThe permission used to change the file or directory. In the UNIX system family, the control of file or directory permissions is differentiated by reading, writing, and executing 3 general permissions, and there are 3 special permissions to be
MCU's micro-core, if UCOS-II has confirmed all task code snippets, stack segments, constant ends, etc. at compile time, and these are both direct and physical address bindings, this can be called a compilation of physical address bindings that
Pit more, one speaking.
1, storage problems.
The WIN10 hard disk format is generally NTFS, and the hard disk format under Linux is usually XFS. So before installing the dual system, the hard disk format should be sorted out.
WIN10 installation is
1. In Linux development, the input subsystem can generate those events.
The type of event for input devices in Linux (here is a list of some of the most commonly used, more see LINUX/INPUT.H):Ev_syn 0x00 Sync EventsEv_key 0x01 Key EventEv_rel 0x02
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service