long delays in drivers.

2 messages, 2 authors, 2001-02-06 · open the first message on its own page

long delays in drivers.

From: Iain Sandoe <hidden>
Date: 2001-02-04 03:20:08

if I need to implement a long delay (say 1 second) in the initialisation of
a driver... what is the best mechanism to use to ensure that resources are
not wasted?

Iain.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: long delays in drivers.

From: Michel Lanners <hidden>
Date: 2001-02-06 06:54:34

On   4 Feb, this message from Iain Sandoe echoed through cyberspace:
if I need to implement a long delay (say 1 second) in the initialisation of
a driver... what is the best mechanism to use to ensure that resources are
not wasted?
Use a waitqueue. Relativly easy to implement....I can dig out an example
at work, if you need it. Just let me know.

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help