Re: Wait queue crash

From: Rask Ingemann Lambertsen (rask@kampsax.k-net.dk)
Date: Sat Feb 19 2000 - 23:54:35 EST


   Speaking of wait queues, I'm trying to use them too:

        {
                static DECLARE_WAIT_QUEUE_HEAD (wait);
                interruptible_sleep_on_timeout (&wait, HZ / 25U);
        }

   The use of wait queues seems to have changed somewhat compared to the
description in "Linux Device Drivers" by Alessandro Rubini, and I'm
wondering if the above piece of code is OK. I'm trying to insert a delay
into the probe function of a network driver. Where do I find reasonably
up-to-date documentation on the use of wait queues?

   Patch for linux/Documentation/kernel-docs.txt in linux 2.3.46 to fix a
copy-and-paste bug:

--- linux/Documentation/kernel-docs.txt-orig Thu Jan 20 19:44:46 2000
+++ linux/Documentation/kernel-docs.txt Sun Feb 20 05:01:09 2000
@@ -258,7 +258,7 @@
      * Title: "Kernel API changes from 2.2 to 2.3"
        Author: Richard Gooch.
        URL:
- http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.2.html
+ http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.3.html
        Keywords: 2.3, changes.
        Description: Kernel functions/structures/variables which changed
        from 2.2.x to 2.3.x.

P.S. Why is linux/Documentation/kernel-docs.txt not world readable?

Regards,

/ŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻTŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻŻ\
| Rask Ingemann Lambertsen | E-mail: mailto:rask@kampsax.k-net.dk |
| Registered Phase5 developer | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4000, 896 kkeys/s (RC5-64) | "ThrustMe" on XPilot, ARCnet and IRC |
| I hate when a key gets stuckkkkkkkkkkkkkkkkkkkkkkkkkk... |

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:24 EST