Question about the poll method in the driver

Source: Internet
Author: User
For more information about the poll method in the driver-Linux general technology-Linux programming and kernel, see the following. Recently I was reading a book on drivers, and it was a bit confusing when I saw the poll method. I understood it as a device query to determine whether it is readable or writable.
But I think most of the driver's poll functions call poll_wait and put the waiting queue in a structure called poll_table (whether it is correct or not ), then I am depressed. Why don't I find the device code in poll.
In addition, I feel that poll has something to do with read and write, and it is messy.
I don't know which expert can help me solve the problem and give some advice!

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.