long delays in drivers.
    Michel Lanners 
    mlan at cpu.lu
       
    Tue Feb  6 17:54:34 EST 2001
    
    
  
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 at cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
    
    
More information about the Linuxppc-dev
mailing list