For details about Application Layer Development, seeLinux Application DevelopmentAdvanced Linux ProgrammingI have translated the second article, which can be obtained from here.
In addition, Linux and UNIX have deep roots. Therefore, you can also
I have been studying Linux network programming for some time. As a summary, writing a socket-based proxy is a review of what I have learned.
I have always had the idea of writing a proxy. In the lab project, I am responsible for an HTTP proxy. The
How to avoid competition and Synchronization Control in Linux and Windows1) Avoid using global variables, global variables, and pointer passing with caution, especially in the kernel;
2) use semaphores, read/write semaphores, spin locks, and
The designer has sent many portraits.
Mxxxx.png, male head,
Fxxxx.png female avatar.
The file name I need is:
Ic_male_head0xxxxx
Ic_female_head0xxxxx
You need to rename it. Manually rename the name, too earthy. Use awk,
Save the following
Thread Pool
: In short, the thread poolA batch of threads are created in advance to conveniently and quickly process received services. Compared with a traditional task, a thread is created to process the task in real time, which saves the thread
The Analysis Based on Linux 0.11 kernel, reprinted please indicate the source http://blog.csdn.net/yming0221/archive/2011/06/05/6527337.aspx
In Linux, after move_to_user_mode (), process 0 generates a sub-process through fork (), which is
Introduction
Embedded Linux is based on open source resources and is already the most importantEmbeddedOne of the application technologies. Embedded Linux is a system installed on the target device. One embedded Linux system contains a majority of
I. Linux theoretical knowledge1. Basic computer theory; 2. CPU architecture; 3. Memory Management; 4. File System; 5. process scheduling; 6. Common Linux operations.Ii. Linux driver knowledge1. Add I2C driver 2. Add SPI driver and read/write3. Io
Summary of file-related structs in linux2.6x kernel I. Common file-related structs
Taking 2.6.22 as an example, other 2.6.x versions may be adjusted, but the changes are not significant.1.1 struct File
Struct file struct is defined in
Segmentation and paging are two ways to divide or map addresses.
The differences between the two are as follows:
A) The page is the physical unit of information, and the page is the discrete distribution method,To reduce the external zero header
1. Create your own dynamic and static libraries
In Linux, the dynamic library. the static library ends. end with A. They all start with Lib. For example, if a library name is net, its full name should be Libnet. so or Libnet. a.
We have two files,
Previously, the PCIe interrupt programs under VxWorks were all encapsulated, so we only used intconnect and felt that we didn't learn anything. Then we looked at the Linux source code again.
The following is an additional study of Linux kernel code
Set the IP address. You can directly edit the/etc/Network/interfaces file, and write the fixed IP address as follows:
Auto lo eth0
Iface lo Inet loopback
Iface eth0 Inet staticAddress 192.168.2.2Netmask 255.255.255.0Broadcast
Some file-related commands are mainly used for development in Linux:
1. view files.
After the system is installed, the/root/directory contains an install. log file. For example, we want to view this file.CAT/root/install. LogBut there are a lot of
How to Learn by yourself in Linux to obtain all kinds of required knowledge
After installing a Unix/Linux operating system, you do not know what to do with it or what it can do ...... This is the question of most early friends.In my opinion, the
Http://firstdot.spaces.live.com/
1. GCC Embedded Assembly(1) is the input and output using the same register in the GCC embedded assembly?
Static void * _ memcpy (void * To, const void * From, size_t N){Int D0, D1, D2;_ ASM _ volatile __("Rep;
Ulk:
Swap only applies to the following types of pages
1 page that belongs to the anonymous linear area of the process (such as the user State stack)
2. Modified pages of the process's oil memory ing
3 pages in the IPC shared linear area
Other types
1. What is a file system?
Most of the current operating systems read data from hard disks. Each operating system uses the same hard disk in the X86 architecture. However, each operating system has its own unique method for reading files, that is,
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