Linux Interrupt Understanding

Source: Internet
Author: User

1, the process, the thread is only for the application layer, and the kernel call, the driver does not have this concept, the call is the kernel call in the same function or variable, so application layer multiple applications operate the same hardware, especially to add the mutex operation, 8250 through the CS pin to determine which serial port to send data

2, send, receive the resolution of the concurrency operation, mainly to prevent repeated calls to the function, wait for the function of the hardware has not yet finished operation to allow the call, receive the general to add mutually exclusive operation, and can receive why did not join the mutex operation?

3, ring buffer, only one write a read, is not required to lock operation

4, the function of the underlying hardware if there are multiple places to be called, generally to join the lock mechanism

Linux Interrupt Understanding

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.