interrupt_sleep_on vs poll_wait

Nov 13, 2004 0 Replies

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


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required