tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kthread with kpause or callout



Hi,

I'm writing a keyboard driver which doesn't support interrupts in some
revisions, so I have to poll its status from time to time. What would
be better suited for that task:

- Running a kthread and calling kpause() between the polls.
- Using a callout which reschedules itself after the poll.

Or is there something even better suited, which I'm missing?

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index