◆ Running status (task_running)When the process is being executed by the CPU or is ready for scheduling at any timeProgramThe process is running ). Processes can run in kernel or user mode. When system resources are available, the
ArticleDirectory
Embedded Linux development, open-source project for analysis and research, article 1: glib
Embedded Linux development, open-source project for analysis and research, article 1: glib
Embedded Development
The Bilbo test is successful. You can try something in Linux !!!
It was originally issued through Firefox in Linux, but csdn has some problems with Firefox support. Online Editing will lose the format, and more seriously, it is submitted by Firefox.
À background knowledge
1 mutex
Mutex Functions
Pthread_mutex_init initializes a mutex
Pthread_mutex_lock lock a mutex
Pthread_mutex_trylock lock, if the failure is not blocked
Pthread_mutex_unlock unlock
In essence, mutex is a lock. A lock is
Usb_alloc_urb
Usb_free_urb
Allocate and release
Urb filling:Specify the urb type, which can be Ctrl, bulk, Int, or ISO.Enter the callback function.
Usb_submit_urbUsb_unlink_urbFill the urb structure or remove it from the USB system.
When the
Document directory
Hid Input
Hid Dev
Hid raw Dev
I recently studied the Bluetooth keyboard and mouse, so I took a rough look at the Linux hid framework.Hid Bus
The hid bus is initialized in the hid-init of the hid-core.c:
Bus_register (&
I checked it out a long time ago. Today I happened to see it and put it online for convenient query.
I,Syslogd and klogd
Syslogd is used together with syslog To output logs by daemon.
Klogd reads/proc/kmsg and stores the kernel log. When klogd is
This article introduces the difference between setting the hrtimer in high precision mode and setting the hrtimer in linux2.6.29. This article does not consider the impact of high-precision mode on clock interruption in Linux.
When the
1. The Soft Interrupt of registration is, of course, through open_softirq
Example:
void __init init_timers(void){int err = timer_cpu_notify(&timers_nb, (unsigned long)CPU_UP_PREPARE,(void *)(long)smp_processor_id());init_timer_stats();BUG_ON(err ==
1. Let the processor go
In Linux, sched_yield takes the initiative to grant execution permission to a system calling and running process. The process is running well. Why does this function need? One case is the locking of the user space thread. If
Since last year, I started my Linux learning with a learning attitude. Now, it has been almost a year, and I have gained a lot. I dare not say that I am proficient in Linux. However, I am still worthy of the word "slightly understood. I have read a
From: http://www.eetchina.com/ART_8800499352_617693_NT_b7cb5454.HTM? Click_from = RSS
Wind River Systems announced that the limo Foundation has chosen the commercial Linux technology of Wind River as the Development Basis for the common
The previous articles on maemo Application Development introduced the underlying features of the maemo platform: Link: maemo Linux Mobile Phone platform series analysis: maemo platform development (6 ~ 14) http://blog.csdn.net/cuijpus/archive/2008/01
Recently, we need to use the red/black tree. When we look for information on the Internet, we accidentally find that there is a red/black tree implementation in the Linux kernel, and its code is very independent. Now we extract it. I have extracted
Speaker: Hua Qing vision gold medal Lecturer, Miss Song Baohua.
Understand the entire process of Linux from scratch on a circuit board. This section describes the Linux kernel porting technology. If the OS is provided with a clock cycle,
Author: Chen Xiaobo,Shanghai Center lecturer of Huaqing vision embedded College.
I have been in touch with Linux for a few years. At the beginning, I had a lot of detours and had been struggling with some irrelevant things. Let's talk about your
Platform in Linux driver
From the Linux kernel, a new driver management and registration mechanism is introduced: platform_device and platform_driver. Most device drivers in Linux can use this mechanism. The device is represented by platform_device,
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