lkml.org 
[lkml]   [2000]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Wait queue crash
   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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.031 / U:3.476 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site