--1678434306-1903068619-1025178248=:4174
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Wed, 26 Jun 2002, David Woodhouse wrote:
>
> For the benefit of any newcomers to the list who haven't clocked RBJ yet...
>
> root@chaos.analogic.com said:
> > I am sure that you can have things look correct as well as run
> > properly. However, you didn't show us the code. You need to do
> > something like:
>
> > interruptible_sleep_on(&semaphore);
>
> > while your wake-up occurs with:
>
> > wake_up_interruptible(&semaphore);
>
> Do not ever use sleep_on() and friends. Almost all usage of these
> functions will be buggy.
>
Whatever your message means; perhaps it was a way of saying "Hello"
to an old friend?
Attached is a file showing about 485 usages of 'sleep_on' in the
kernel drivers. If this usage is, as you say, buggy then will you
please inform us unwashed hordes what we should use to replace these?
Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Windows-2000/Professional isn't.
--1678434306-1903068619-1025178248=:4174
Content-Type: APPLICATION/octet-stream; name="sleep_on.gz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.3.95.1020627074408.4174B@chaos.analogic.com>
Content-Description:
H4sIAOP4Gj0AA9Uca3PbNvKz8yvQfEhln2w9bCVOOvFMm7TXzjWXPtLptZkM
BwIgEzFJUAAoyb65/34LkBQfIkFKdvro1LJD7C4Wi8W+sNTF5QwJQhKJI8IU
Egv0uQoYiz0RfY54hAIeJZvT6dnF2eQSUclXTKqzR48eHfFIMymTWPN5wLwc
Z/CEYElPr9aYa09prNXxF4++4QF7gc5GEdOjNY5G5JZsvM10dkaADHqJcmRP
85CJRA+eaJ6RWAjpSaaYHqILdIK+/R3IHR3xl6h5ejeF6SwnUeZIixsWSR5d
j/g81BKYQtl/Ry2LLGYRwW0Yc+LFIJjTKyXnnplziJ6OT1JWc1KHEvrIFwvO
1D9ygs2MZ9hWni3bouOSPADTA0DD4J7wzfPrUJ1fjq3sjrqFprRkOGRyZ7Gz
0g4fSKOFwQBHOUbKY7FQ5WcLXSYsYbUlKh/HGUqBEYBo2Iql8tvvOWpFKM96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ckZhjL3a/zp0YoJ6kugoxoYo7
iwQFTNM0MHp+0ZWAg3+Zm26a2B6l7OLYJfESeNOkcYAj98LuNEQP1xLPO0ob
dbi+gE6w1Zz3mTYDa1rgnTx/OpmOOyy/wqAHOKFdvFs4INw2G+gRaLH73W3i
c5ca6FV3t9GdBC4uAi/b2D0A+wRrBuljfG2RjNfefpNO/0qiIaEh1DKVoUn9
i5Lq2zO2LwIC1KkpC7Vp8jGSmLDiVT8Mx3KUfomU+8LI1iKq4tZ0BPaRA7kR
FWSSvlfULwWy34oDq5pWXw8rk5xDLKrdF6IQuRcvDBdEKPzvtn0BrCVYeSrC
sfKF7r72DlZhwzTwFOb5P8G2+TmwSwAA
--1678434306-1903068619-1025178248=:4174--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/