interrupt_sleep_on vs poll_wait

Hello,

When I study two driver codes that use two difference methods to wait interrupt. One uses poll_wait in the xxx_poll function and the other uses interrupt_sleep_on in the xxx_read function. I want to know which one will be more real-time when driver uses one of them, that response to application's poll()/select() or read() in the multithread condition. Thank you.

best regards, Gary

Reply to
Gary Hu
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.