The character device driver in Linux has a function
Unsigned int (* poll) (struct file * FP, struct poll_table_struct * table)
This function is used within the system call select to hook the current file pointer to the wait defined inside the
I installed Ubuntu Linux (wubantu) 6.10 recently. Wow, it's really convenient. My computer is a GB motherboard of MSI. I don't have to worry about what graphics card or sound card it is when I install it, what network adapter, what motherboard, what
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.
Installation environment:
Linux system: fedora 12 or redha9.0JDK: jdk1.6.0 _ 13
JDK installation is not described here.
Step 1:Download myeclipse8.0 Linux from www.verycd.com
Http://www.verycd.com/search/files/myeclipse-8.0.0-linux-gtk-x86.tgz
Step
1. Basic concepts of shared memory segments
Shared Memory is a memory area shared by several processes. It can be said that it is the fastest form of IPC, because it does not need any intermediate operations, it just maps the memory segment directly
(The Add # command must be operated under the root user permission)
1. Shutdown and restart1) # init 0 restart # init 6 Shutdown (change the system running level)2) # reboot restart # halt Shutdown (command method)3) # showdown-H + 5 (shutdown in 5
À 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
Repair guide:
Apt-Get install grub
Grub
Find/boot/GRUB/stage1
Root (hd0, Y)
Setup (HDO)
Super User Switching, often enter the correct password cannot switch over, use this command: Sudo-S
Install Deb and RPM software:
Dpkg-I ^. Deb
The file system displays Chinese characters:
Configure the Kernel support encoding:
*-Native language support --->
Simplified Chinese charset (cp936, gb2312)
NLS UTF-8
Change the default character in the file system to the blue part.
File systems --
1. ipv80211_init
• The 80211_wq work queue mainly handles the following tasks:
1) clear: wireless_dev.cleanup_work2) scan: 201780211_registered_device.scan_done_wk3) Event: Listen 80211_registered_device.event_work
• Register Netlink with the name "
1. What is workqueue?The workqueue mechanism in Linux aims to simplify the creation of kernel threads. You can create a kernel thread by calling the workqueue interface. In addition, the number of threads can be created based on the number of CPUs
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
: Http://sourceforge.net/projects/jnotify/The usage instructions of jpolicyare as follows:Jnotify works on Linux with inotify support (tested on 2.6.14), Mac OS X 10.5 or higher (tested on 10.6.2 ), and on Windows XP/2 k/NT (tested on XP and on
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
Lrz http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz.
During this time, I used Windows and Linux to interact with each other. Because the test server is not allowed to connect to the Internet, files are often transmitted. Generally, I use
Currently, Linux is the main force of embedded systems, it is widely used in consumer electronics, industrial control, military electronics, telecommunications/Network/communication, aerospace, automotive electronics, medical equipment,
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
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